source: trunk/dports/editors/emacs/Portfile @ 1005

Last change on this file since 1005 was 1005, checked in by jkh, 18 years ago

Stick Emacs.app in +carbon case into /Applications, to conform to user
expectations.

  • Property svn:eol-style set to native
File size: 967 bytes
Line 
1PortSystem 1.0
2name            emacs
3version         21.2
4categories      editors
5maintainers     jkh@opendarwin.org
6description     The GNU Emacs text editor
7platforms       darwin freebsd
8master_sites    ftp://ftp.gnu.org/pub/gnu/emacs/
9checksums       md5 f4b58e5c2d923fc92495e0c2f167c5db
10configure.args  --without-x
11
12registry.contents_recurse       yes
13include contents
14
15variant darwin {
16        patchfiles      apple-patches
17        patch.pre_args  -p1
18}
19
20# Overrides darwin
21variant carbon {
22        prefix /Applications
23        configure.args-append --with-carbon
24        configure.args-append   --prefix=${workpath}/build
25        fetch.type      cvs
26        cvs.root        :pserver:anoncvs@subversions.gnu.org:/cvsroot/emacs
27        cvs.module      emacs
28        worksrcdir      emacs
29        patchfiles      macosx-patch
30        build.target.all        bootstrap
31        build.target.install    install-mac
32        include macosx-contents
33        install {
34                system "cd ${workpath}/emacs && make install-mac && \
35                        ( cd ${workpath}/build && tar cf - Emacs.app | \
36                                ( cd ${prefix}/bin && tar xf - ) ) "
37        }
38}
39
40variant x11 {
41        configure.args --with-x
42}
Note: See TracBrowser for help on using the repository browser.