RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/lang/sisc/Portfile,v
retrieving revision 1.1
diff -u -r1.1 Portfile
|
|
|
1 | 1 | # $Id: Portfile,v 1.1 2004/04/25 00:26:24 blb Exp $ |
2 | 2 | PortSystem 1.0 |
3 | 3 | name sisc |
4 | | version 1.8.8 |
| 4 | version 1.9.5 |
5 | 5 | categories lang java |
6 | 6 | platforms darwin |
7 | | maintainers sleepinghead@netzero.net |
| 7 | maintainers mvitocruz@gmail.com |
8 | 8 | description Second Interpreter of Scheme Code |
9 | 9 | long_description SISC is a Java based interpreter of Scheme. |
10 | 10 | homepage http://sisc.sourceforge.net/ |
11 | 11 | master_sites sourceforge |
12 | 12 | distfiles ${name}-${version}.jar |
13 | | checksums md5 d6ac6795f0f3256a93bba9c88735c868 |
| 13 | checksums md5 8615f58f1775d17fdaa36c929d1af913 |
14 | 14 | worksrcdir ${name} |
15 | 15 | use_zip yes |
16 | 16 | use_configure no |
… |
… |
|
21 | 21 | build.cmd ant |
22 | 22 | build.target full-dist |
23 | 23 | destroot { |
24 | | xinstall -m 755 ${worksrcpath}/dist/full/sisc/sisc \ |
25 | | ${destroot}${prefix}/bin/sisc |
| 24 | set siscdir ${worksrcpath}/dist/full/sisc |
| 25 | xinstall -m 755 ${siscdir}/sisc ${destroot}${prefix}/bin/sisc |
26 | 26 | reinplace "s|\"`dirname \$0`\"|\"${prefix}/share/java/sisc\"|" \ |
27 | 27 | ${destroot}${prefix}/bin/sisc |
| 28 | reinplace "s|/bin/uname|uname|" ${destroot}${prefix}/bin/sisc |
28 | 29 | |
29 | | xinstall -m 755 ${worksrcpath}/dist/full/sisc/install-srfi22.sh \ |
| 30 | xinstall -m 755 ${siscdir}/install-srfi22.sh \ |
30 | 31 | ${destroot}${prefix}/bin/install-srfi22.sh |
31 | 32 | reinplace "s|/usr/local/bin|${prefix}/bin|" \ |
32 | 33 | ${destroot}${prefix}/bin/install-srfi22.sh |
33 | 34 | reinplace "s|scheme-src|${prefix}/share/java/sisc/scheme-src|" \ |
34 | 35 | ${destroot}${prefix}/bin/install-srfi22.sh |
35 | 36 | |
36 | | xinstall -d ${destroot}${prefix}/share/java/sisc/scheme-src/srfi-22 |
37 | | system "cp -r ${worksrcpath}/dist/full/sisc/scheme-src \ |
38 | | ${destroot}${prefix}/share/java/sisc" |
39 | | system "cp ${worksrcpath}/dist/full/sisc/*.jar \ |
40 | | ${worksrcpath}/dist/full/sisc/*.shp \ |
41 | | ${destroot}${prefix}/share/java/sisc" |
| 37 | set javadir ${destroot}${prefix}/share/java/sisc |
| 38 | xinstall -d ${javadir} |
| 39 | file copy ${siscdir}/scheme-src ${javadir} |
| 40 | file copy ${siscdir}/sisc-lib.jar ${javadir} |
| 41 | file copy ${siscdir}/sisc-opt.jar ${javadir} |
| 42 | file copy ${siscdir}/sisc.jar ${javadir} |
| 43 | file copy ${siscdir}/sisc.shp ${javadir} |
42 | 44 | |
43 | | xinstall -d ${destroot}${prefix}/share/doc/sisc |
44 | | system "cp ${worksrcpath}/dist/full/sisc/ChangeLog \ |
45 | | ${worksrcpath}/dist/full/sisc/COPYING \ |
46 | | ${worksrcpath}/dist/full/sisc/GOALS \ |
47 | | ${worksrcpath}/dist/full/sisc/README \ |
48 | | ${worksrcpath}/dist/full/sisc/TODO \ |
49 | | ${worksrcpath}/dist/full/sisc/doc/* \ |
50 | | ${destroot}${prefix}/share/doc/sisc" |
| 45 | set docdir ${destroot}${prefix}/share/doc/sisc |
| 46 | xinstall -d ${docdir} |
| 47 | file copy ${siscdir}/ChangeLog ${docdir} |
| 48 | file copy ${siscdir}/COPYING ${docdir} |
| 49 | file copy ${siscdir}/GOALS ${docdir} |
| 50 | file copy ${siscdir}/README ${docdir} |
| 51 | file copy ${siscdir}/TODO ${docdir} |
| 52 | file copy ${siscdir}/doc ${docdir} |
51 | 53 | } |