Ticket #2455: patch

File patch, 2.9 KB (added by sleepinghead@…, 20 years ago)

Portfile diff

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/lang/sisc/Portfile,v
    retrieving revision 1.1
    diff -u -r1.1 Portfile
     
    11# $Id: Portfile,v 1.1 2004/04/25 00:26:24 blb Exp $
    22PortSystem      1.0
    33name            sisc
    4 version         1.8.8
     4version         1.9.5
    55categories      lang java
    66platforms       darwin
    7 maintainers     sleepinghead@netzero.net
     7maintainers     mvitocruz@gmail.com
    88description     Second Interpreter of Scheme Code
    99long_description        SISC is a Java based interpreter of Scheme.
    1010homepage        http://sisc.sourceforge.net/
    1111master_sites    sourceforge
    1212distfiles       ${name}-${version}.jar
    13 checksums       md5 d6ac6795f0f3256a93bba9c88735c868
     13checksums       md5 8615f58f1775d17fdaa36c929d1af913
    1414worksrcdir      ${name}
    1515use_zip         yes
    1616use_configure   no
     
    2121build.cmd       ant
    2222build.target    full-dist
    2323destroot        {
    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
    2626        reinplace "s|\"`dirname \$0`\"|\"${prefix}/share/java/sisc\"|" \
    2727                ${destroot}${prefix}/bin/sisc
     28        reinplace "s|/bin/uname|uname|" ${destroot}${prefix}/bin/sisc
    2829
    29         xinstall -m 755 ${worksrcpath}/dist/full/sisc/install-srfi22.sh \
     30        xinstall -m 755 ${siscdir}/install-srfi22.sh \
    3031                ${destroot}${prefix}/bin/install-srfi22.sh
    3132        reinplace "s|/usr/local/bin|${prefix}/bin|" \
    3233                ${destroot}${prefix}/bin/install-srfi22.sh
    3334        reinplace "s|scheme-src|${prefix}/share/java/sisc/scheme-src|" \
    3435                ${destroot}${prefix}/bin/install-srfi22.sh
    3536
    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}
    4244
    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}
    5153}