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

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

xemacs: Version bump to 21.4.22 and openmaintainer

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