Ticket #29303: gant.diff
File gant.diff, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
Portfile
4 4 5 5 name gant 6 6 version 1.9.4 7 revision 1 7 8 categories java devel groovy 8 9 maintainers breskeby 10 supported_archs noarch 11 9 12 description A groovy based tool for scripting ant 10 13 long_description Gant is a tool for scripting Ant tasks using Groovy instead of XML \ 11 14 to specify the logic. A Gant specification is a Groovy script and so \ … … 17 20 18 21 homepage http://gant.codehaus.org/ 19 22 platforms darwin 20 distname ${name}-${version}21 23 master_sites http://dist.codehaus.org/gant/distributions 22 24 checksums md5 b32fe6c76b27b25a8690c5213645c7e8 \ 23 25 sha1 db0cebea84e145b700a14509b584b89b2e58afec \ 24 26 rmd160 2f18244274e4c84b63e8f37e8bd4d89cdce60fdc 25 26 worksrcdir ${name}-${version}27 set workTarget ""28 27 29 28 use_zip yes 30 use_bzip2 no31 29 use_configure no 32 30 33 31 build.cmd true … … 39 37 40 38 pre-destroot { 41 39 # Remove extraneous bat files 42 foreach f [glob -directory ${worksrcpath} ${workTarget}/bin *.bat] {40 foreach f [glob -directory ${worksrcpath}/bin *.bat] { 43 41 file delete $f 44 42 } 45 43 } … … 58 56 system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/${name}/bin/gant" 59 57 } 60 58 61 post-activate { 62 ui_msg "****************************************************************************" 63 ui_msg "* Remember to set the environment variable GANT_HOME to the path to" 64 ui_msg "* the gant distribution: ${prefix}/share/java/${name}" 65 ui_msg "****************************************************************************" 66 } 59 notes " 60 Remember to set the environment variable GANT_HOME to the path to\ 61 the gant distribution: ${prefix}/share/java/${name} 62 "