# $Id$ PortSystem 1.0 name mg version 20110905 revision 1 categories editors description small Emacs-like editor long_description Micro GNU/Emacs: a small, fast, lightweight, emacs-like editor.\ No extension language, just a basic editor for text & code. platforms darwin maintainers nomaintainer homepage http://homepage.boetes.org/software/mg/ master_sites ${homepage} checksums rmd160 721b2a2e9059ddf6ea637dafd205575150b58c8c \ sha256 1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229 depends_lib port:ncurses patchfiles patch-configure.diff # The mg configure script does not accept any arguments. configure.pre_args configure.universal_args variant universal {} build.args CC=${configure.cc} \ CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \ LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" destroot.args prefix=${prefix} mandir=${prefix}/share/man post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ README \ ${destroot}${docdir} } livecheck.type regex livecheck.url ${homepage} livecheck.regex >${name}-(\[0-9\]+)${extract.suffix}<