source: trunk/dports/editors/xemacs/Portfile @ 37973

Last change on this file since 37973 was 37973, checked in by mww@…, 11 years ago

fix typo in 'no_sumo' variant (#15487)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1# $Id: Portfile 37973 2008-07-01 11:32:24Z mww@macports.org $
2
3PortSystem      1.0
4
5name            xemacs
6version         21.4.21
7revision        1
8set sumo_date   2007-04-27
9categories      editors x11
10platforms       darwin
11maintainers     mww
12description     A highly customizable open source text editor.
13
14long_description \
15    XEmacs is a highly customizable open source text editor and application development \
16    system. It is protected under the GNU Public License and related to other versions of \
17    Emacs, in particular GNU Emacs.
18
19homepage        http://www.xemacs.org
20master_sites    http://ftp.xemacs.org/pub/xemacs/xemacs-21.4/:xemacs \
21                ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.4/:xemacs \
22                http://ftp.xemacs.org/pub/xemacs/packages/:package \
23                ftp://ftp.xemacs.org/pub/xemacs/packages/:package \
24                http://mirrors.ibiblio.org/pub/mirrors/xemacs/packages/:package
25
26use_bzip2       yes
27set xemacs_dist ${name}-${version}${extract.suffix}
28set sumo_dist   ${name}-sumo-${sumo_date}${extract.suffix}
29set mule_dist   ${name}-mule-sumo-${sumo_date}${extract.suffix}
30
31distfiles       ${xemacs_dist}:xemacs ${sumo_dist}:package ${mule_dist}:package
32
33checksums       ${xemacs_dist} \
34                    md5 1669330c839780791242fed788ef5482 \
35                    sha1 1c75232615b064c69b5d442052a97c0fa22a49b2 \
36                    rmd160 a22c27b68247ccbd6ab79c103ada7c3aecccc9d4 \
37                ${sumo_dist} \
38                    md5 735fd204c1939f76704b7ba770f59b8c \
39                    sha1 e094fcd1b0cc2b409bfdca828ac5603da3c4e0e4 \
40                    rmd160 b4480601a49fbd708691f3f95204e8f0443fc2aa \
41                ${mule_dist} \
42                    md5 47107fc32d61773568c623d22c29bd0b \
43                    sha1 f817078a1b1fc26bf38219ba167e22c2c00869fe \
44                    rmd160 cacc52b81e6482681297bf03379df75851b3ea80
45
46configure.args  --mandir=${prefix}/share/man \
47                --without-postgresql \
48                --without-ldap \
49                --with-sound=none \
50                --pdump \
51                --site-prefixes=${prefix} \
52                --with-tty \
53                --with-dialogs=athena \
54                --with-widgets=athena \
55                --with-athena=3d \
56                --with-database=gdbm \
57                --with-mule
58
59depends_lib     port:libpng port:Xaw3d port:ncurses port:gdbm port:jpeg \
60                port:tiff port:compface port:gettext port:zlib
61
62destroot.args   prefix=${destroot}${prefix} mandir=${destroot}${prefix}/share/man/man1
63
64destroot.keepdirs ${destroot}${prefix}/lib/xemacs
65post-destroot {
66    set xemacs_lib ${destroot}${prefix}/lib/xemacs-${version}
67    xinstall -d -m 0555 ${xemacs_lib}
68    system "cd ${destroot}${prefix}/lib && ln -s xemacs-${version} xemacs"
69    if {[file exists ${workpath}/mule-packages]} {
70        ui_debug "Installing mule-sumo distribution into destroot"
71        file copy ${workpath}/mule-packages ${xemacs_lib}/
72    }
73    if {[file exists ${workpath}/xemacs-packages]} {
74        ui_debug "Installing sumo distribution into destroot"
75        file copy ${workpath}/xemacs-packages ${xemacs_lib}
76    }
77}
78
79variant no_sumo \
80    description "do not install sumo and mule" {
81    configure.args-delete --with-mule
82    depends_lib-delete    port:gettext
83    distfiles-delete      ${sumo_dist}:package ${mule_dist}:package
84}
85
Note: See TracBrowser for help on using the repository browser.