Ticket #29303: gant.2.diff

File gant.2.diff, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

new proposed patch

  • Portfile

     
    1717                                       
    1818homepage                        http://gant.codehaus.org/
    1919platforms                       darwin
    20 distname                        ${name}-${version}
    2120master_sites            http://dist.codehaus.org/gant/distributions
    2221checksums                       md5     6930a7bd5209fb6d1e9e8186fd4b18fb \
    2322                                        sha1 919c750128af22797b1d53de37c70deda5676ea7 \
    2423                                        rmd160 2b23c6e2696629d9fb8878568955e459d51ebcc3
    25                                                
    26 worksrcdir                      ${name}-${version}
    27 set workTarget          ""
    2824
    2925use_zip                         yes
    30 use_bzip2                       no
    3126use_configure           no
    3227
    3328build.cmd                       true
     
    4035
    4136pre-destroot {
    4237        # Remove extraneous bat files
    43         foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] {
     38        foreach f [glob -directory ${worksrcpath}/bin *.bat] {
    4439                file delete $f
    4540        }
    4641}
     
    5954        system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/${name}/bin/gant"
    6055}
    6156
    62 post-activate {
    63                 ui_msg "****************************************************************************"
    64                 ui_msg "* Remember to set the environment variable GANT_HOME to the path to"
    65                 ui_msg "* the gant distribution: ${prefix}/share/java/${name}"
    66                 ui_msg "****************************************************************************"
    67  }
     57notes "
     58Remember to set the environment variable GANT_HOME to the path to\
     59the gant distribution: ${prefix}/share/java/${name}
     60"