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

Last change on this file since 2123 was 2123, checked in by mij, 18 years ago

Add CVS Id tags.

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.17 2003/03/03 06:28:58 mij Exp $
2
3PortSystem 1.0
4name            emacs
5version         21.2
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    ftp://ftp.gnu.org/pub/gnu/emacs/
16checksums       md5 f4b58e5c2d923fc92495e0c2f167c5db
17configure.args  --without-x
18install.args    prefix=${destroot}/${prefix}
19
20variant darwin {
21        patchfiles      apple-patches
22        patch.pre_args  -p1
23}
24
25variant devel {
26        version 21.3.50.1
27        fetch.type      cvs
28        cvs.root        :pserver:anoncvs@subversions.gnu.org:/cvsroot/emacs
29        cvs.module      emacs
30        worksrcdir      emacs
31        build.target    bootstrap
32        patchfiles-delete       apple-patches
33}
34
35variant x11 {
36        configure.args --with-x
37}
38
39# Overrides darwin
40variant carbon requires devel {
41        configure.args-append   --with-carbon
42        configure.args-append   --prefix=${workpath}/build
43        patchfiles              macosx-patch
44        install.target          install-mac
45        install {
46                system "mkdir -p ${destroot}/Applications"
47                system "cd ${workpath}/emacs && make install-mac && \
48                        ( cd ${workpath}/build && tar cf - Emacs.app | \
49                                ( cd ${destroot}/Applications && tar xf - ) ) "
50        }
51}
Note: See TracBrowser for help on using the repository browser.