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

Last change on this file was 99089, checked in by ryandesign@…, 5 years ago

jakarta-bcel, jakarta-oro, jakarta-regexp: fix master_sites (#36079)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 99089 2012-10-26 01:04:52Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    jakarta-regexp
6version                 1.5
7
8categories              java
9license                 Apache-2
10maintainers             nomaintainer
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                               
17master_sites            http://archive.apache.org/dist/jakarta/regexp/source
18
19checksums           md5     b941b8f4de297827f3211c2cb34af199 \
20                    sha1    a8c98ac37e2a34dd39fca1e9d4d632944ea930e1 \
21                    rmd160  46bca47c9e83e6fb1a6d488f5ae5cbfa87f48401
22
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
34build.target            jar
35build.args                      -Dfinal.name=${name}
36
37destroot        {
38        xinstall -d ${destroot}${prefix}/share/java \
39                ${destroot}${prefix}/share/doc/${name}
40        xinstall -m 644 \
41                ${worksrcpath}/build/${name}.jar \
42                ${destroot}${prefix}/share/java/
43        foreach f [glob -directory ${worksrcpath}/docs *.html api] {
44                file copy $f ${destroot}${prefix}/share/doc/${name}/
45        }
46}
47
48livecheck.type  regex
49livecheck.url   http://apache.crihan.fr/dist/jakarta/regexp/source/
50livecheck.regex {regexp-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.