source: trunk/dports/java/castor/Portfile @ 22478

Last change on this file since 22478 was 22478, checked in by pipping@…, 13 years ago
  • Spring-cleaning @opendarwin.org addresses

see #11465
see http://www.mail-archive.com/macports-dev@lists.macosforge.org/msg00309.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
2
3PortSystem 1.0
4
5name                    castor
6version                 0.9.9
7categories              java
8platforms               darwin
9maintainers             nomaintainer@macports.org
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
Note: See TracBrowser for help on using the repository browser.