source: trunk/dports/aqua/emacs-app-devel/Portfile

Last change on this file was 146587, checked in by khindenburg@…, 19 months ago

SoXt, emacs-app, emacs-app-devel, cmake, Coin, simage: remove css, set nomaintainer #50332

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 146587 2016-03-12 21:17:01Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            emacs-app-devel
6version         20151029
7
8categories      aqua editors
9maintainers     nomaintainer
10description     The GNU Emacs text editor, recent Git development version
11long_description \
12   GNU Emacs is a self-documenting, customizable, extensible real-time \
13   display editor. Users new to Emacs will be able to use basic        \
14   features fairly rapidly by studying the tutorial and using the      \
15   self-documentation features. Emacs also has an extensive            \
16   interactive manual browser. It is easily extensible since its       \
17   editing commands are written in Lisp. This port uses the Git version\
18   of the code from a recent date, which includes the NextStep (aqua)  \
19   option
20
21platforms       darwin freebsd
22homepage        http://www.gnu.org/software/emacs/emacs.html
23
24fetch.type      git
25git.url         git://git.savannah.gnu.org/emacs.git
26git.url         http://git.savannah.gnu.org/r/emacs.git
27git.branch      db31a883252e17af4386598c52d42ed81db56973
28worksrcdir      emacs
29
30use_autoreconf  yes
31autoreconf.cmd  "./autogen.sh"
32configure.args  --with-ns --without-x --without-dbus
33depends_build-append port:autoconf port:automake port:libtool
34depends_lib     port:ncurses
35use_parallel_build      yes
36
37destroot {
38        system "cd ${worksrcpath} && make install"     
39        xinstall -m 755 -d ${destroot}${applications_dir}
40        file copy ${worksrcpath}/nextstep/Emacs.app \
41                ${destroot}${applications_dir}
42        file copy ${filespath}/site-start.el \
43                ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp
44}
45
46post-destroot {
47        reinplace "s|__PREFIX__|${prefix}|g" \
48                ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp/site-start.el
49}
50
51livecheck.type  none
Note: See TracBrowser for help on using the repository browser.