source: trunk/dports/java/saxpath/Portfile

Last change on this file was 86613, checked in by jmr@…, 6 years ago

saxpath: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 86613 2011-10-29 19:28:03Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            saxpath
6version         1.0
7categories      java devel textproc
8license         Apache-1.1
9platforms       darwin
10maintainers     nomaintainer
11description     simple Java API for XPath
12
13long_description \
14    The SAXPath project is a Simple API for XPath. SAXPath is analogous to SAX \
15    in that the API abstracts away the details of parsing and provides a \
16    simple event based callback interface.
17
18homepage        http://saxpath.sourceforge.net/
19master_sites    sourceforge
20
21checksums       md5 cc95ecc7dfb689a29bd42323490ee702
22
23depends_build   bin:ant:apache-ant
24depends_lib     bin:java:kaffe
25
26set worksrcdir  ${worksrcdir}-FCS
27
28post-extract {
29    file mkdir ${worksrcpath}/src/conf
30    file copy ${filespath}/MANIFEST.MF ${worksrcpath}/src/conf
31}
32
33use_configure   no
34
35build.cmd       ant
36build.target    package
37
38destroot {
39    xinstall -m 755 -d ${destroot}${prefix}/share/java \
40        ${destroot}${prefix}/share/doc
41    xinstall -m 644 ${worksrcpath}/build/saxpath.jar \
42        ${destroot}${prefix}/share/java/
43    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
44}
45
46livecheck.regex {saxpath (\d+(?:\.\d+)*) FCS}
Note: See TracBrowser for help on using the repository browser.