1 | # $Id$ |
---|
2 | PortSystem 1.0 |
---|
3 | name sisc |
---|
4 | version 1.8.7 |
---|
5 | categories lang |
---|
6 | maintainers sleepinghead@netzero.net |
---|
7 | description Second Interpreter of Scheme Code |
---|
8 | long_description SISC is a Java based interpreter of Scheme. |
---|
9 | homepage http://sisc.sourceforge.net/ |
---|
10 | master_sites sourceforge |
---|
11 | distfiles ${name}-${version}.jar |
---|
12 | checksums md5 e52a92a4acb4dce94978ed87a4e6e355 |
---|
13 | worksrcdir ${name} |
---|
14 | use_zip yes |
---|
15 | use_configure no |
---|
16 | depends_build bin:ant:apache-ant path:${prefix}/share/xsl:docbook-xsl |
---|
17 | pre-build { |
---|
18 | reinplace "s|/usr/share/sgml/docbook/stylesheet/xsl/nwalsh|${prefix}/share/xsl/docbook-xsl|" ${worksrcpath}/build.xml |
---|
19 | } |
---|
20 | build.cmd ant |
---|
21 | build.target full-dist |
---|
22 | destroot { |
---|
23 | xinstall -m 755 ${worksrcpath}/dist/full/sisc/sisc \ |
---|
24 | ${destroot}${prefix}/bin/sisc |
---|
25 | reinplace "s|\"`dirname \$0`\"|\"${prefix}/lib/sisc\"|" \ |
---|
26 | ${destroot}${prefix}/bin/sisc |
---|
27 | |
---|
28 | xinstall -m 755 ${worksrcpath}/dist/full/sisc/install-srfi22.sh \ |
---|
29 | ${destroot}${prefix}/bin/install-srfi22.sh |
---|
30 | reinplace "s|/usr/local/bin|${prefix}/bin|" \ |
---|
31 | ${destroot}${prefix}/bin/install-srfi22.sh |
---|
32 | reinplace "s|scheme-src|${prefix}/lib/sisc/scheme-src|" \ |
---|
33 | ${destroot}${prefix}/bin/install-srfi22.sh |
---|
34 | |
---|
35 | xinstall -d ${destroot}${prefix}/lib/sisc/scheme-src/srfi-22 |
---|
36 | system "cp -r ${worksrcpath}/dist/full/sisc/scheme-src \ |
---|
37 | ${destroot}${prefix}/lib/sisc" |
---|
38 | system "cp ${worksrcpath}/dist/full/sisc/*.jar \ |
---|
39 | ${worksrcpath}/dist/full/sisc/*.shp \ |
---|
40 | ${destroot}${prefix}/lib/sisc" |
---|
41 | |
---|
42 | xinstall -d ${destroot}${prefix}/share/doc/sisc |
---|
43 | system "cp ${worksrcpath}/dist/full/sisc/ChangeLog \ |
---|
44 | ${worksrcpath}/dist/full/sisc/COPYING \ |
---|
45 | ${worksrcpath}/dist/full/sisc/GOALS \ |
---|
46 | ${worksrcpath}/dist/full/sisc/README \ |
---|
47 | ${worksrcpath}/dist/full/sisc/TODO \ |
---|
48 | ${worksrcpath}/dist/full/sisc/doc/* \ |
---|
49 | ${destroot}${prefix}/share/doc/sisc" |
---|
50 | } |
---|