source: trunk/dports/java/jakarta-regexp/Portfile @ 86500

Last change on this file since 86500 was 86500, checked in by jmr@…, 9 years ago

jakarta-regexp: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
RevLine 
[20317]1# $Id: Portfile 86500 2011-10-26 21:42:58Z jmr@macports.org $
[8598]2
3PortSystem 1.0
4
5name                    jakarta-regexp
[62062]6version                 1.5
[8598]7
8categories              java
[86500]9license                 Apache-2
[72252]10maintainers             nomaintainer
[8598]11platforms               darwin
12
13description             Jakarta Regular Expressions Parser.
14long_description        Jakarta Regexp is a 100% Pure Java Regular Expression package.
15homepage                        http://jakarta.apache.org/regexp/
16                               
[14829]17master_sites            apache:jakarta/regexp/source
[8598]18
[62062]19checksums           md5     b941b8f4de297827f3211c2cb34af199 \
20                    sha1    a8c98ac37e2a34dd39fca1e9d4d632944ea930e1 \
21                    rmd160  46bca47c9e83e6fb1a6d488f5ae5cbfa87f48401
22
[8598]23depends_build           bin:ant:apache-ant
24depends_lib                     bin:java:kaffe
25
26post-extract {
27        file mkdir ${workpath}/jakarta-site2/lib
28        file delete ${worksrcpath}/${distname}.jar
29}
30                                       
31use_configure           no
32
33build.cmd                       ant
[14829]34build.target            jar
[8598]35build.args                      -Dfinal.name=${name}
36
37destroot        {
[62062]38        xinstall -d ${destroot}${prefix}/share/java \
[14829]39                ${destroot}${prefix}/share/doc/${name}
[8598]40        xinstall -m 644 \
41                ${worksrcpath}/build/${name}.jar \
42                ${destroot}${prefix}/share/java/
[14829]43        foreach f [glob -directory ${worksrcpath}/docs *.html api] {
44                file copy $f ${destroot}${prefix}/share/doc/${name}/
45        }
[8598]46}
[62061]47
48livecheck.type  regex
49livecheck.url   http://apache.crihan.fr/dist/jakarta/regexp/source/
[84512]50livecheck.regex {regexp-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.