Ticket #357: Portfile.patch

File Portfile.patch, 1.9 KB (added by sean@…, 22 years ago)

patch to pull sources from correct location + various issues fixed

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/apache-ant/Portfile,v
    retrieving revision 1.9
    diff -u -r1.9 Portfile
     
    22
    33PortSystem             1.0
    44name                   apache-ant
    5 version                        1.5.3
     5version                        1.5.3-1
    66categories             devel   
    77maintainers            sean@fuzzymagic.com
    88description            Java opensource build system
     
    1010                       make without make's wrinkles. Ant uses XML build files that defines \
    1111                       a set of targets. Each target has dependencies (other targets) and \
    1212                       contains a set of tasks to perform.
    13 homepage                http://jakarta.apache.org/ant/
     13homepage                http://ant.apache.org/
    1414
    1515platforms              darwin freebsd
    16 master_sites           http://www.apache.org/dist/ant/source/
     16master_sites           http://apache.ttlhost.com/ant/source/ \
     17                    http://apache.mirrors.pair.com/ant/source/ \
     18                    http://www.apache.org/dist/ant/source/
    1719distname               ${name}-${version}-src
    1820worksrcdir             ${name}-${version}
    19 checksums              md5 38fff50776a39a7c42516cf464889656
     21checksums              md5 dc29c2aa1a5a24b7ede0198bde5f9da7
    2022set antdir              java/${name}
    2123set instdir            ${prefix}/${antdir}
    2224set chmodarg           -Dchmod.fail=false
     
    3335       system "cd ${worksrcpath}; cp -R ${name} ${path}"
    3436       system "rm ${path}${name}/bin/*.bat"
    3537       system "chmod -R ugo+r ${path}${name}"
    36        system "ln -fs ${path}${name}/bin/ant ${destroot}${prefix}/bin/ant"
     38    system "cd ${destroot} &&
     39        ln -fs ${prefix}/java/${name}/bin/ant ${prefix}/bin/ant"
    3740}
    3841
    3942variant darwin {