# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 github.setup beancount beancount-mode 3c04745fa539c25dc007683ad257239067c24cfe version 20210303 revision 0 checksums rmd160 38ef2dbf7c048fe05c278c9043599521372cd18e \ sha256 128873506d8a8548166fa12b61fefda93b2e1a2a3b1d8f220794f10869db9621 \ size 26602 name beancount.el categories lang editors platforms any supported_archs noarch license GPL-3+ maintainers {l2dy @l2dy} openmaintainer description Beancount mode for Emacs long_description an Emacs major-mode implementing syntax highlighting, \ indentation, completion, and other facilities to edit and \ work with Beancount ledger files. # We want emacs from MacPorts since this will install stuff in emacs' site-lisp and we want # it to go into ${prefix}'s site-lisp. depends_lib path:bin/emacs:emacs use_configure no build { system -W ${worksrcpath} "emacs --batch --eval \ '(progn (setq load-path (cons \".\" load-path)) \ (byte-compile-file \"beancount.el\"))'" } destroot { set site_lisp ${prefix}/share/emacs/site-lisp xinstall -d ${destroot}${site_lisp} xinstall -W ${worksrcpath} beancount.el beancount.elc ${destroot}${site_lisp} } notes " To use this, put the following into your ~/.emacs: (setq auto-mode-alist (cons '(\"\\\\.beancount\" . beancount-mode) auto-mode-alist)) (autoload 'beancount-mode \"beancount\" \"Beancount mode.\" t) "