Ticket #9306: Portfile.2

File Portfile.2, 1.6 KB (added by cssdev@…, 18 years ago)

Portfile for emacs-app 9.0-pre3

Line 
1# $Id: Portfile,v 1.7 2006/01/08 07:07:15 jmpp Exp $
2
3PortSystem 1.0
4name            emacs-app
5version         23.0.0_NS-9.0pre3
6categories      editors
7maintainers     cssdev@mac.com
8description     The GNU Emacs text editor, Cocoa version
9
10long_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
17platforms       darwin
18homepage        http://emacs-app.sourceforge.net/
19master_sites    sourceforge
20distname        emacs-${version}
21extract.suffix  .tar.bz2
22use_bzip2       yes
23checksums       md5 12ff9195cd037d53965a08c20cef04c4
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
30use_automake    no
31use_autoconf    no
32use_configure   no
33
34# configure.args        --with-ns --without-x --prefix=${destroot}/Applications/DarwinPorts/Emacs.app/Contents/Resources
35
36build.dir       ${worksrcpath}/nextstep
37build.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
43destroot {
44        xinstall -m 755 -d ${destroot}/Applications/DarwinPorts
45        file copy ${worksrcpath}/nextstep/build/Emacs.app ${destroot}/Applications/Darwinports
46}