# $Id: Portfile 146587 2016-03-12 21:17:01Z khindenburg@macports.org $ PortSystem 1.0 name emacs-app-devel version 20151029 categories aqua editors maintainers nomaintainer description The GNU Emacs text editor, recent Git development version long_description \ GNU Emacs is a self-documenting, customizable, extensible real-time \ display editor. Users new to Emacs will be able to use basic \ features fairly rapidly by studying the tutorial and using the \ self-documentation features. Emacs also has an extensive \ interactive manual browser. It is easily extensible since its \ editing commands are written in Lisp. This port uses the Git version\ of the code from a recent date, which includes the NextStep (aqua) \ option platforms darwin freebsd homepage http://www.gnu.org/software/emacs/emacs.html fetch.type git git.url git://git.savannah.gnu.org/emacs.git git.url http://git.savannah.gnu.org/r/emacs.git git.branch db31a883252e17af4386598c52d42ed81db56973 worksrcdir emacs use_autoreconf yes autoreconf.cmd "./autogen.sh" configure.args --with-ns --without-x --without-dbus depends_build-append port:autoconf port:automake port:libtool depends_lib port:ncurses use_parallel_build yes destroot { system "cd ${worksrcpath} && make install" xinstall -m 755 -d ${destroot}${applications_dir} file copy ${worksrcpath}/nextstep/Emacs.app \ ${destroot}${applications_dir} file copy ${filespath}/site-start.el \ ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp } post-destroot { reinplace "s|__PREFIX__|${prefix}|g" \ ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp/site-start.el } livecheck.type none