Ticket #19833: Portfile-xemacs.diff
File Portfile-xemacs.diff, 4.8 KB (added by jds6p6h02@…, 15 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile 51114 2009-05-18 15:39:08Z jeremyhu@macports.org $ 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 3 # $Id: Portfile 2009-05-27 JrCs $ 2 4 3 5 PortSystem 1.0 4 6 5 7 name xemacs 6 version 21. 4.228 version 21.5.29 7 9 set sumo_date 2009-02-17 8 10 categories editors x11 9 11 platforms darwin … … 16 18 Emacs, in particular GNU Emacs. 17 19 18 20 homepage http://www.xemacs.org 19 master_sites http://ftp.xemacs.org/pub/xemacs/xemacs-21. 4/:xemacs \20 ftp://ftp.xemacs.org/pub/xemacs/xemacs-21. 4/:xemacs \21 master_sites http://ftp.xemacs.org/pub/xemacs/xemacs-21.5/:xemacs \ 22 ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.5/:xemacs \ 21 23 http://ftp.xemacs.org/pub/xemacs/packages/:package \ 22 24 ftp://ftp.xemacs.org/pub/xemacs/packages/:package \ 23 25 http://mirrors.ibiblio.org/pub/mirrors/xemacs/packages/:package 24 26 25 use_bzip2 yes26 27 set xemacs_dist ${name}-${version}${extract.suffix} 27 28 set sumo_dist ${name}-sumo-${sumo_date}${extract.suffix} 28 29 set mule_dist ${name}-mule-sumo-${sumo_date}${extract.suffix} 29 30 30 31 distfiles ${xemacs_dist}:xemacs ${sumo_dist}:package ${mule_dist}:package 31 32 32 checksums 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 506b7465687ff9dafe26f46e049b6aad8915eb4933 checksums xemacs-21.5.29.tar.gz \ 34 md5 5364192ae0d3de23d9f4ce197e6493b5 \ 35 sha1 0815975a2a7e9720d1a8fe0b347b0f977786e2a5 \ 36 rmd160 96b951fd44915b3b73a9d69a7ab80c1237fdecc7 \ 37 xemacs-sumo-2009-02-17.tar.gz \ 38 md5 d2d59fbab3bddc4d07cb756671ad8589 \ 39 sha1 61ce4ca12eeffeb42a2b65ea394192ca6ea70f42 \ 40 rmd160 ca54e474f3cef4e717067204599ecaf0570304c3 \ 41 xemacs-mule-sumo-2009-02-17.tar.gz \ 42 md5 cd851669fe748370827eab3dd8ca9599 \ 43 sha1 feab4c720f4cb8c28c9b5864add23e01966cb2aa \ 44 rmd160 0d97c461b7a278437b4c73f224127af35734f628 44 45 45 46 configure.args --mandir=${prefix}/share/man \ 47 --with-system-packages=${prefix}/share/xemacs \ 48 --with-pdump \ 46 49 --without-postgresql \ 47 50 --without-ldap \ 48 51 --with-sound=none \ 49 --pdump \50 --site-prefixes=${prefix} \51 52 --with-tty \ 53 --with-ncurses \ 52 54 --with-dialogs=athena \ 53 55 --with-widgets=athena \ 54 56 --with-athena=3d \ 55 57 --with-database=gdbm \ 58 --with-zlib \ 59 --with-png \ 60 --with-jpeg \ 61 --with-tiff \ 56 62 --with-mule 57 63 58 64 depends_lib port:libpng port:Xaw3d port:ncurses port:gdbm port:jpeg \ … … 60 66 61 67 destroot.args prefix=${destroot}${prefix} mandir=${destroot}${prefix}/share/man/man1 62 68 63 destroot.keepdirs ${destroot}${prefix}/ lib/xemacs69 destroot.keepdirs ${destroot}${prefix}/share/xemacs 64 70 post-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" 71 set xemacs_pkg_dir ${destroot}${prefix}/share/xemacs 72 xinstall -d -m 0555 ${xemacs_pkg_dir} 68 73 if {[file exists ${workpath}/mule-packages]} { 69 74 ui_debug "Installing mule-sumo distribution into destroot" 70 file copy ${workpath}/mule-packages ${xemacs_ lib}/75 file copy ${workpath}/mule-packages ${xemacs_pkg_dir}/ 71 76 } 72 77 if {[file exists ${workpath}/xemacs-packages]} { 73 78 ui_debug "Installing sumo distribution into destroot" 74 file copy ${workpath}/xemacs-packages ${xemacs_ lib}79 file copy ${workpath}/xemacs-packages ${xemacs_pkg_dir} 75 80 } 76 81 } 77 82 … … 81 86 depends_lib-delete port:gettext 82 87 distfiles-delete ${sumo_dist}:package ${mule_dist}:package 83 88 } 84