1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name emacs-app |
---|
5 | version 23.0.0_NS-9.0pre3 |
---|
6 | categories aqua editors |
---|
7 | maintainers css@macports.org |
---|
8 | description The GNU Emacs text editor (GNUstep/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 12ff9195cd037d53965a08c20cef04c4 |
---|
24 | |
---|
25 | depends_lib lib:libjpeg:jpeg \ |
---|
26 | lib:libtiff:tiff \ |
---|
27 | lib:libungif:libungif \ |
---|
28 | lib:libpng:libpng |
---|
29 | |
---|
30 | # The current distribution contains its own build script, so use that |
---|
31 | # rather than trying to manually manage the various steps of the build |
---|
32 | # process. Perhaps a future version of this Portfile could handle the |
---|
33 | # compile script's commands directly. |
---|
34 | |
---|
35 | use_automake no |
---|
36 | use_autoconf no |
---|
37 | use_configure no |
---|
38 | |
---|
39 | # Eventually build the port without the provided script... |
---|
40 | # configure.args --with-ns --without-x --prefix=${destroot}/Applications/DarwinPorts/Emacs.app/Contents/Resources |
---|
41 | |
---|
42 | platform darwin 8 { |
---|
43 | if {$xcodeversion == "2.1"} { |
---|
44 | set xcodebuilddir build/Deployment |
---|
45 | } |
---|
46 | } |
---|
47 | |
---|
48 | build.dir ${worksrcpath}/nextstep |
---|
49 | build.cmd ./compile |
---|
50 | |
---|
51 | # Due to the fact that the script compiles and installs everything |
---|
52 | # into the source directory, the destroot phase must manually copy the |
---|
53 | # resulting application package. |
---|
54 | |
---|
55 | destroot { |
---|
56 | xinstall -m 755 -d ${destroot}/Applications/MacPorts |
---|
57 | file copy ${worksrcpath}/nextstep/build/Emacs.app \ |
---|
58 | ${destroot}/Applications/MacPorts |
---|
59 | } |
---|