source: trunk/dports/java/woodstox/Portfile

Last change on this file was 72252, checked in by jberry@…, 7 years ago

Drop maintainership of my recently ill-maintained java ports. I may still look in on them from time to time, but this feels better than to just ignore thme. Free to a good home.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 72252 2010-10-08 23:20:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                            woodstox
6version                         3.2.0
7
8categories                      java
9maintainers                     nomaintainer
10platforms                       darwin
11
12description                     Woodstox StAX XML parser
13long_description        Woodstox is a fast Open Source fully-validating StAX-compliant \
14                                        (JSR-173) XML-processor written in Java (processor meaning it \
15                                        handles both input (== parsing) and output (== writing, serialization)).
16homepage                        http://woodstox.codehaus.org/
17
18distname                        wstx-src-${version}
19master_sites            http://woodstox.codehaus.org/${version}/
20checksums                       sha1 7a88dc42ffb425d8c2d8a6a5677e7866bfc24a80
21
22worksrcdir                      .
23
24depends_build           bin:ant:apache-ant
25depends_lib                     bin:java:kaffe \
26                                        port:jakarta-bcel
27
28use_configure           no
29
30post-patch {
31        # msv isn't one of our ports, so stub it out and disable it
32        file mkdir ${worksrcpath}/lib/msv
33        file delete -force ${worksrcpath}/src/java/com/ctc/wstx/msv
34}
35
36build.cmd                       ant
37build.target            compile jars javadoc
38build.env                       CLASSPATH=${prefix}/share/java/jakarta-bcel.jar
39
40destroot        {
41        xinstall -m 755 -d ${destroot}${prefix}/share/java \
42                ${destroot}${prefix}/share/doc/${name}
43        xinstall -m 644 ${worksrcpath}/build/wstx-asl-${version}.jar \
44                ${destroot}${prefix}/share/java/woodstox.jar
45        xinstall -m 644 ${worksrcpath}/build/wstx-api-${version}.jar \
46                ${destroot}${prefix}/share/java/woodstox-api.jar
47        xinstall -m 644 ${worksrcpath}/build/stax2.jar \
48                ${destroot}${prefix}/share/java/
49               
50        file copy \
51                ${worksrcpath}/build/javadoc \
52                ${worksrcpath}/release-notes \
53                ${destroot}${prefix}/share/doc/${name}
54}
Note: See TracBrowser for help on using the repository browser.