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

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

modelines

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