1 | # $Id: Portfile,v 1.7 2006/01/08 07:07:15 jmpp Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name emacs-app |
---|
5 | version 23.0.0_NS-9.0pre2a |
---|
6 | categories editors |
---|
7 | maintainers cssdev@mac.com |
---|
8 | description The GNU Emacs text editor, Cocoa version |
---|
9 | |
---|
10 | long_description GNU Emacs is a self-documenting, customizable, \ |
---|
11 | extensible real-time display editor. Users new to Emacs will \ |
---|
12 | be able to use basic features fairly rapidly by studying the \ |
---|
13 | tutorial and using the self-documentation features. Emacs also \ |
---|
14 | has an extensive interactive manual browser. It is easily \ |
---|
15 | extensible since its editing commands are written in Lisp. |
---|
16 | |
---|
17 | platforms darwin |
---|
18 | homepage http://emacs-app.sourceforge.net/ |
---|
19 | master_sites sourceforge |
---|
20 | distname emacs-${version} |
---|
21 | extract.suffix .tar.bz2 |
---|
22 | use_bzip2 yes |
---|
23 | checksums md5 c76b6b1c94ff6730cc5eded6d56c744c |
---|
24 | |
---|
25 | # The current distribution contains its own build script, so use that |
---|
26 | # rather than trying to manually manage the various steps of the build |
---|
27 | # process. Perhaps a future version of this Portfile could handle the |
---|
28 | # compile script's commands directly. |
---|
29 | |
---|
30 | use_automake no |
---|
31 | use_autoconf no |
---|
32 | use_configure no |
---|
33 | |
---|
34 | # configure.args --with-ns --without-x --prefix=${destroot}/Applications/DarwinPorts/Emacs.app/Contents/Resources |
---|
35 | |
---|
36 | build.dir ${worksrcpath}/nextstep |
---|
37 | build.cmd ./compile |
---|
38 | |
---|
39 | # Due to the fact that the script compiles and installs everything |
---|
40 | # into the source directory, the destroot phase must manually copy the |
---|
41 | # resulting application package. |
---|
42 | |
---|
43 | destroot { |
---|
44 | xinstall -m 755 -d ${destroot}/Applications/DarwinPorts |
---|
45 | file copy ${worksrcpath}/nextstep/build/Emacs.app ${destroot}/Applications/Darwinports |
---|
46 | } |
---|