source: trunk/dports/java/jaxen/Portfile @ 62394

Last change on this file since 62394 was 62394, checked in by nox@…, 10 years ago

Make whitespace changes to jaxen

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 62394 2010-01-06 14:17:44Z nox@macports.org $
2
3PortSystem      1.0
4
5name            jaxen
6version         1.1-beta-9
7categories      java devel textproc
8platforms       darwin
9maintainers     nomaintainer
10description     Java XPath engine
11
12long_description \
13    The jaxen project is a Java XPath Engine. jaxen is a universal object \
14    model walker, capable of evaluating XPath expressions across multiple \
15    models. Currently supported are dom4j and JDOM.
16
17homepage        http://www.jaxen.org/
18distname        ${name}-${version}-src
19master_sites    http://dist.codehaus.org/jaxen/distributions/
20
21checksums       md5 e7f42d2b9dc633252ee47eeab52cdced
22
23depends_build   bin:ant:apache-ant
24depends_lib     bin:java:kaffe \
25                port:junit \
26                port:dom4j \
27                port:jdom \
28                port:xercesj \
29                port:xom
30
31worksrcdir      ${name}-${version}
32
33use_configure   no
34
35set javaLibs ${prefix}/share/java
36set classpath "
37    ${javaLibs}/apache-ant/ant.jar
38    ${javaLibs}/junit.jar
39    ${javaLibs}/xalan.jar
40    ${javaLibs}/xml-apis.jar
41    ${javaLibs}/dom4j.jar
42    ${javaLibs}/jdom.jar
43    ${javaLibs}/xercesImpl.jar
44    ${javaLibs}/xml-apis.jar
45    ${javaLibs}/xom.jar
46    "
47
48build.cmd       ant
49build.target    dist
50build.env       CLASSPATH=[join ${classpath} :]
51build.args      -Dnoget -Djunit.jar=${prefix}/share/java/junit.jar
52
53destroot {
54    xinstall -m 755 -d ${destroot}${prefix}/share/java \
55        ${destroot}${prefix}/share/doc
56    xinstall -m 644 ${worksrcpath}/dist/${name}-${version}.jar \
57        ${destroot}${prefix}/share/java/${name}.jar
58    file copy ${worksrcpath}/dist/docs \
59        ${destroot}${prefix}/share/doc/${name}
60}
Note: See TracBrowser for help on using the repository browser.