# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name po-mode.el version 0.19.8.1 categories editors devel license GPL-2+ maintainers nomaintainer platforms any supported_archs noarch description The 'po' file mode for Emacs long_description ${description} homepage https://www.gnu.org/software/gettext/ master_sites gnu:gettext dist_subdir gettext distname gettext-${version} checksums rmd160 29a5f29d186fe2aece5c450fd1a743b819c02c5b \ sha256 ff942af0e438ced4a8b0ea4b0b6e0d6d657157c5e2364de57baa279c1c125c43 \ size 19704011 extract.post_args-append \ ${distname}/gettext-tools/misc # Port also works with emacs-app, emacs-mac-app depends_build port:emacs worksrcdir ${distname}/gettext-tools/misc use_configure no build { foreach lisp [glob -tails -directory ${worksrcpath}/ *.el] { system -W ${worksrcpath} "emacs --batch --eval \ '(progn (setq load-path (cons \".\" load-path)) \ (byte-compile-file \"${lisp}\"))'" } } destroot { set lispdir ${prefix}/share/emacs/site-lisp xinstall -d ${destroot}${lispdir} xinstall -m 644 {*}[glob -directory ${worksrcpath}/ *.el*] \ ${destroot}${lispdir} } livecheck.type regex livecheck.url https://ftp.gnu.org/gnu/gettext/?C=M&O=D livecheck.regex {gettext-(\d+(?:\.\d+)*)}