Portfile

# $Id: Portfile 20318 2006-11-01 22:35:15Z blair@macports.org $

PortSystem 1.0

name xdoclet
version 1.2.3
revision 1

categories java
maintainers andre@splunk.com
platforms darwin

description XDoclet is an open source code generation engine.
long_description XDoclet is an open source code generation engine. It \
enables Attribute-Oriented Programming for java. In \
short, this means that you can add more significance \
to your code by adding meta data (attributes) to your \
java sources. This is done in special JavaDoc tags.

homepage http://xdoclet.sourceforge.net/xdoclet/

distname ${name}-src-${version}
extract.suffix .tgz

master_sites sourceforge
checksums md5 9e1a2856e03b338b505a086b962a77ab

depends_build port:ant port:maven

depends_lib bin:java:kaffe \
port:commons-logging \
port:commons-lang \
port:junit

use_configure no

worksrcdir ${name}-${version}

build.env MAVEN_HOME=${prefix}
build.cmd ant
build.target dist
build.args -Dfinal.name=${name} -Djunit.jar=${prefix}/share/java/junit.jar

destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc

file copy ${worksrcpath}/target/docs/ ${destroot}$prefix/share/doc

file copy ${worksrcpath}/target/lib/maven-xdoclet-plugin-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-apache-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-bea-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-borland-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-caucho-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-de-locale-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-ejb-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-exolab-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-fr_FR-locale-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-hibernate-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-hp-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-ibm-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-java-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-jboss-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-jdo-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-jmx-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-jsf-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-libelis-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-macromedia-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-mockobjects-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-mvcsoft-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-mx4j-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-objectweb-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-openejb-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-oracle-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-orion-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-portlet-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-pramati-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-pt_BR-locale-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-solarmetric-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-spring-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-sun-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-sybase-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-tjdo-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-web-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-webwork-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-wsee-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/lib/xdoclet-xdoclet-module-1.2.3.jar ${destroot}${prefix}/share/java/
file copy ${worksrcpath}/target/xdoclet-base-locale-1.2.3.jar ${destroot}${prefix}/share/java/
}