Ticket #1531: Portfile

File Portfile, 2.3 KB (added by waqar@…, 21 years ago)

Portfile

Line 
1# $Id: Portfile,v 1.7 2004/01/01 23:26:03 jkh Exp $
2
3PortSystem 1.0
4name            xemacs
5version         21.5.16
6categories      editors
7maintainers     jkh@opendarwin.org
8description     The XEmacs editor, based on GNU Emacs
9long_description        \
10        GNU Emacs is a self-documenting, customizable, extensible       \
11        real-time display editor. Users new to Emacs will be able to    \
12        use basic features fairly rapidly by studying the tutorial and  \
13        using the self-documentation features. Emacs also has an        \
14        extensive interactive manual browser. It is easily extensible   \
15        since its editing commands are written in Lisp. XEmacs adds     \
16        many extensions to GNU Emacs to take particilar advantage of    \
17        the X Window System.
18platforms       darwin
19homepage        http://www.xemacs.org
20master_sites    ftp://ftp.us.xemacs.org/pub/xemacs/xemacs-21.5 \
21                http://ftp.us.xemacs.org/ftp/pub/xemacs/xemacs-21.5 \
22                ftp://ibiblio.org/pub/packages/editors/xemacs/xemacs-21.5 \
23                http://ibiblio.org/pub/packages/editors/xemacs/xemacs-21.5 \
24                http://mirrors.mix5.com/xemacs/xemacs-21.5 \
25                http://www.binarycode.org/xemacs/xemacs-21.5 \
26                http://www.online-mirror.org/xemacs/xemacs-21.5 \
27                http://xemacs.software-archive.net/xemacs-21.5
28use_bzip2       yes
29configure.post_args     --pdump
30checksums       ${name}-${version}${extract.suffix} \
31                        md5 a9c3ef7982098588069266ef9cfa60d4
32destroot.args   prefix=${destroot}/${prefix}
33
34# Warning: This is highly version dependent.  If you update the version
35# of this port, you will almost certainly have to adjust the values below.
36variant sumo {
37        set s_version           2004-02-02
38        distfiles-append        ${name}-sumo-${s_version}${extract.suffix}
39        master_sites-append     \
40                ftp://ftp.us.xemacs.org/pub/xemacs/packages \
41                http://ftp.us.xemacs.org/ftp/pub/xemacs/packages \
42                ftp://ibiblio.org/pub/packages/editors/xemacs/packages \
43                http://ibiblio.org/pub/packages/editors/xemacs/packages \
44                http://mirrors.mix5.com/xemacs/packages \
45                http://www.binarycode.org/xemacs/packages \
46                http://www.online-mirror.org/xemacs/packages \
47                http://xemacs.software-archive.net/packages
48        checksums-append        ${name}-sumo-${s_version}${extract.suffix} \
49                                        md5 88f222c6d4a15475c991f56a3467078c
50        post-destroot {
51                ui_info "Installing sumo distribution into destroot"
52                system "tar -cpf - -C ${worksrcpath}/.. xemacs-packages | tar -xpf - -C ${destroot}${prefix}/lib/${name}-21.5-b16"
53        }
54}