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

Last change on this file since 9650 was 9650, checked in by jkh, 15 years ago

Simplify this port by removing dependencies which aren't strictly needed.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.32 2004/12/07 08:59:43 jkh Exp $
2
3PortSystem 1.0
4name            emacs
5version         21.3
6categories      editors
7maintainers     jkh@opendarwin.org
8description     The GNU Emacs text editor
9long_description        GNU Emacs is a self-documenting, customizable, extensible real-time display editor. \
10                        Users new to Emacs will be able to use basic features fairly rapidly \
11                        by studying the tutorial and using the self-documentation features. \
12                        Emacs also has an extensive interactive manual browser.  It is easily \
13                        extensible since its editing commands are written in Lisp.
14platforms       darwin freebsd
15master_sites    gnu
16checksums       md5 a0bab457cbf5b4f8eb99d1d0a3ada420
17configure.args  --without-x
18destroot.args   prefix=${destroot}/${prefix}
19
20post-destroot {
21        cd ${destroot}${prefix}
22        file delete info/dir
23        file delete share/info
24        file rename info share/info
25        system "rm -rf share/man"
26        file rename man share/man
27        if {[variant_isset carbon]} {
28                global destroot prefix version
29
30                file delete ${destroot}${prefix}/bin/emacs
31                file delete ${destroot}${prefix}/bin/emacs-$version
32        }
33}
34
35variant darwin {
36        patchfiles      apple-patches ange-ftp.el.diff
37        patch.pre_args  -p1
38}
39
40variant devel {
41        version 21.3.50
42        fetch.type      cvs
43        cvs.root        :ext:anoncvs@savannah.gnu.org:/cvsroot/emacs
44        cvs.module      emacs
45        cvs.env         CVS_RSH=ssh
46        worksrcdir      emacs
47        build.target    bootstrap
48        patchfiles-delete       apple-patches ange-ftp.el.diff
49}
50
51variant x11 {
52        configure.args --with-x --with-x-toolkit=lucid --with-xpm=no --disable-carbon
53}
54
55# Overrides darwin
56variant carbon requires devel {
57        configure.args-append   --with-carbon --enable-carbon-app=${destroot}/Applications/DarwinPorts
58}
Note: See TracBrowser for help on using the repository browser.