source: trunk/dports/java/castor/Portfile

Last change on this file was 65805, checked in by ryandesign@…, 7 years ago

castor: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 65805 2010-04-01 07:27:08Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    castor
6version                 0.9.9
7categories              java
8platforms               darwin
9maintainers             nomaintainer
10description             data binding framework for Java
11long_description        Castor is an Open Source data binding framework for \
12                                Java(tm). It's the shortest path between Java objects, XML \
13                                documents and relational tables. Castor provides Java-to-XML \
14                                binding, Java-to-SQL persistence, and more.
15
16homepage                http://www.castor.org/
17master_sites    http://dist.codehaus.org/castor/${version}/
18distfiles               ${distname}-src.tgz
19checksums               md5 4ae9cf49a93ee93ac743041ed5f0f4d3
20
21depends_lib             bin:java:kaffe
22
23use_configure   no
24
25set classpath   lib/ant-1.6.jar:lib/ant-1.6-launcher.jar:lib/xerces-J_1.4.0.jar:build/classes
26build.cmd               java -classpath ${classpath} -Dant.home=lib org.apache.tools.ant.Main "$@" -buildfile src/build.xml
27build.target    jar
28
29destroot {
30        xinstall -m 755 -d ${destroot}${prefix}/share/java \
31                ${destroot}${prefix}/share/doc
32        xinstall -m 644 ${worksrcpath}/dist/castor-0.9.9-xml.jar \
33                ${destroot}${prefix}/share/java/castor-xml.jar
34        xinstall -m 644 ${worksrcpath}/dist/castor-0.9.9.jar \
35                ${destroot}${prefix}/share/java/castor.jar
36        file copy ${worksrcpath}/src/doc ${destroot}${prefix}/share/doc/${name}
37        file copy ${worksrcpath}/src/examples ${destroot}${prefix}/share/doc/${name}
38}
39
40livecheck.type  regex
41livecheck.url   http://dist.codehaus.org/castor/
42livecheck.regex {>([0-9.]+)/<}
Note: See TracBrowser for help on using the repository browser.