17 | | master_sites ftp://ftp.us.xemacs.org/pub/xemacs/xemacs-21.4/:source \ |
18 | | http://ftp.us.xemacs.org/ftp/pub/xemacs/xemacs-21.4/:source \ |
19 | | ftp://ibiblio.org/pub/packages/editors/xemacs/xemacs-21.4/:source \ |
20 | | http://ibiblio.org/pub/packages/editors/xemacs/xemacs-21.4/:source \ |
21 | | http://mirrors.mix5.com/xemacs/xemacs-21.4/:source \ |
22 | | http://www.binarycode.org/xemacs/xemacs-21.4/:source \ |
23 | | http://www.online-mirror.org/xemacs/xemacs-21.4/:source \ |
24 | | ftp://ftp.us.xemacs.org/pub/xemacs/packages/:sumo \ |
| 17 | master_sites ftp://ftp.us.xemacs.org/pub/xemacs/xemacs-21.4/:stable \ |
| 18 | http://ftp.us.xemacs.org/ftp/pub/xemacs/xemacs-21.4/:stable \ |
| 19 | http://mirrors.mix5.com/xemacs/xemacs-21.4/:stable \ |
| 20 | http://www.binarycode.org/xemacs/xemacs-21.4/:stable \ |
| 21 | ftp://ftp.us.xemacs.org/pub/xemacs/xemacs-21.5/:beta \ |
| 22 | http://ftp.us.xemacs.org/ftp/pub/xemacs/xemacs-21.5/:beta \ |
| 23 | http://mirrors.ibiblio.org/pub/mirrors/xemacs/xemacs-21.5/:beta \ |
| 24 | http://mirrors.mix5.com/xemacs/xemacs-21.5/:beta \ |
| 25 | http://www.online-mirror.org/xemacs/xemacs-21.5/:beta \ |
| 26 | http://members.shaw.ca/akochoi-xemacs/diff/:carbonport \ |
| 27 | http://members.shaw.ca/akochoi-xemacs/diff/:toolbarpatch \ |
| 28 | ftp://ftp.us.xemacs.org/pub/xemacs/packages/:sumo \ |
| 60 | variant carbon-beta { |
| 61 | |
| 62 | version 21.5.20 |
| 63 | |
| 64 | set carbonport_name ${name}-${version}-carbon-b2.diff |
| 65 | |
| 66 | distfiles ${name}-${version}${extract.suffix}:beta \ |
| 67 | ${carbonport_name}.bz2:carbonport \ |
| 68 | toolbar-tiger-fix.diff:toolbarpatch |
| 69 | |
| 70 | checksums-append ${name}-${version}${extract.suffix} \ |
| 71 | md5 8bf5f1af05588cb59a67bade939c4aeb \ |
| 72 | ${carbonport_name}.bz2 md5 5e4dfcb7faddfd4066eb1ad92b991f32 \ |
| 73 | toolbar-tiger-fix.diff md5 b9152e518961c69f568ae0c64136a4f7 |
| 74 | |
| 75 | extract.only ${name}-${version}.tar.gz |
| 76 | |
| 77 | if { [variant_isset sumo] } { |
| 78 | extract.only ${name}-${version}.tar.gz ${name}-sumo-2005-03-07${extract.suffix} |
| 79 | } |
| 80 | |
| 81 | post-extract { |
| 82 | system "cp ${distpath}/${name}-${version}-carbon-b2.diff.bz2 ${workpath}" |
| 83 | system "cd ${workpath} && bzip2 -d ${name}-${version}-carbon-b2.diff.bz2" |
| 84 | system "cd ${workpath} && cp ${distpath}/toolbar-tiger-fix.diff ." |
| 85 | system "cd ${workpath} && patch -p1 -d ${distname} <${name}-${version}-carbon-b2.diff" |
| 86 | system "cd ${workpath} && \ |
| 87 | patch -p1 ${distname}/src/toolbar-carbon.c <toolbar-tiger-fix.diff" |
| 88 | } |
| 89 | |
| 90 | set worksrcpath ${workpath}/${name}-${version} |
| 91 | |
| 92 | depends_lib |
| 93 | configure {} |
| 94 | |
| 95 | build.cmd cd ${worksrcpath}/carbon/ && sh ./build-app.sh |
| 96 | build.args {} |
| 97 | |
| 98 | destroot.args {} |
| 99 | |
| 100 | set xemacs_lib ${destroot}/Applications/DarwinPorts/XEmacs.app/Contents/Resources/lib/xemacs/ |
| 101 | |
| 102 | post-destroot { |
| 103 | system "cp -Rp ${worksrcpath}/carbon/XEmacs.app ${destroot}/Applications/DarwinPorts/" |
| 104 | } |
| 105 | |
| 106 | } |
| 107 | |