Ticket #29303: gant.2.diff
File gant.2.diff, 1.4 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
Portfile
17 17 18 18 homepage http://gant.codehaus.org/ 19 19 platforms darwin 20 distname ${name}-${version}21 20 master_sites http://dist.codehaus.org/gant/distributions 22 21 checksums md5 6930a7bd5209fb6d1e9e8186fd4b18fb \ 23 22 sha1 919c750128af22797b1d53de37c70deda5676ea7 \ 24 23 rmd160 2b23c6e2696629d9fb8878568955e459d51ebcc3 25 26 worksrcdir ${name}-${version}27 set workTarget ""28 24 29 25 use_zip yes 30 use_bzip2 no31 26 use_configure no 32 27 33 28 build.cmd true … … 40 35 41 36 pre-destroot { 42 37 # Remove extraneous bat files 43 foreach f [glob -directory ${worksrcpath} ${workTarget}/bin *.bat] {38 foreach f [glob -directory ${worksrcpath}/bin *.bat] { 44 39 file delete $f 45 40 } 46 41 } … … 59 54 system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/${name}/bin/gant" 60 55 } 61 56 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 } 57 notes " 58 Remember to set the environment variable GANT_HOME to the path to\ 59 the gant distribution: ${prefix}/share/java/${name} 60 "