Skip to content
Permalink
Browse files

über-make for java project from the jakarta camp.

<http://jakarta.apache.org/ant/>

as submitted by Sean Brandt <sean@fuzzymagic.com>

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1196 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jean-Pierre Mouilleseaux
Jean-Pierre Mouilleseaux committed Nov 5, 2002
1 parent 5b23640 commit c65cee9fdb6b1a7c063648fab9c9597ce41b939f
Showing with 2,276 additions and 0 deletions.
  1. +36 −0 devel/apache-ant/Portfile
  2. +1,102 −0 devel/apache-ant/contents
  3. +36 −0 devel/jakarta-ant/Portfile
  4. +1,102 −0 devel/jakarta-ant/contents
@@ -0,0 +1,36 @@
PortSystem 1.0
name jakarta-ant
version 1.5.1
revision 0
categories java jakarta
maintainers sean@fuzzymagic.com
description Java opensource build system
platforms darwin freebsd
master_sites http://jakarta.apache.org/builds/jakarta-ant/release/v1.5.1/src/
distname ${name}-${version}-src
worksrcdir ${name}-${version}
checksums md5 a9d1d1cb1c042ef2fffc21f31d96d4a9
set antdir java/${name}
set instdir ${prefix}/${antdir}
set chmodarg -Dchmod.fail=false
build.cmd ./build.sh
build.args ${chmodarg} -Ddist.name=${name}
build.target.all dist
include contents


variant darwin {
build.env JAVA_HOME=/Library/Java/Home
extract.post_args | gnutar -x
}

configure { }

install {
system "mkdir -p ${prefix}/java"
system "cd ${worksrcpath}; cp -R ${name} ${prefix}/java"
system "rm ${prefix}/java/${name}/bin/*.bat"
system "chmod -R ugo+r ${prefix}/java/${name}"
system "ln -s ${prefix}/java/${name}/bin/ant ${prefix}/bin/"
}

0 comments on commit c65cee9

Please sign in to comment.
You can’t perform that action at this time.