Skip to content
Permalink
Browse files

update to 0.9.9

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15039 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Nov 14, 2005
1 parent 13761e6 commit d2dee6c5cea2fea9a361f78a43457c3b5095bf9e
Showing with 18 additions and 11 deletions.
  1. +18 −11 java/castor/Portfile
@@ -1,9 +1,9 @@
# $Id: Portfile,v 1.2 2004/10/07 11:55:19 mww Exp $
# $Id: Portfile,v 1.3 2005/11/14 09:15:02 mww Exp $

PortSystem 1.0

name castor
version 0.9.5.3
version 0.9.9
categories java
platforms darwin
maintainers mww@opendarwin.org
@@ -13,20 +13,27 @@ long_description Castor is an Open Source data binding framework for \
documents and relational tables. Castor provides Java-to-XML \
binding, Java-to-SQL persistence, and more.

homepage http://castor.exolab.org/
master_sites ftp://ftp.exolab.org/pub/castor/castor_0.9.5.3/
extract.suffix -src.tgz
checksums md5 ca93b19f1300a5701d8401bcfb333402
homepage http://www.castor.org/
master_sites http://dist.codehaus.org/castor/${version}/
distfiles ${distname}-src.tgz
checksums md5 4ae9cf49a93ee93ac743041ed5f0f4d3

depends_lib bin:java:kaffe

use_configure no

build.cmd java -classpath lib/ant_1.5.jar:lib/xerces-J_1.4.0.jar:build/classes/ -Dant.home=lib org.apache.tools.ant.Main "$@" -buildfile src/build.xml
set classpath lib/ant-1.6.jar:lib/ant-1.6-launcher.jar:lib/xerces-J_1.4.0.jar:build/classes
build.cmd java -classpath ${classpath} -Dant.home=lib org.apache.tools.ant.Main "$@" -buildfile src/build.xml
build.target jar

destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java
xinstall -m 644 -W ${worksrcpath}/dist castor-0.9.5.3-xml.jar \
castor-0.9.5.3.jar ${destroot}${prefix}/share/java
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java \
${destroot}${prefix}/share/doc
xinstall -m 644 ${worksrcpath}/dist/castor-0.9.9-xml.jar \
${destroot}${prefix}/share/java/castor-xml.jar
xinstall -m 644 ${worksrcpath}/dist/castor-0.9.9.jar \
${destroot}${prefix}/share/java/castor.jar
file copy ${worksrcpath}/src/doc ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/src/examples ${destroot}${prefix}/share/doc/${name}
}

0 comments on commit d2dee6c

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