source: trunk/dports/java/jdom/Portfile @ 62064

Last change on this file since 62064 was 62064, checked in by nox@…, 11 years ago

Fix jdom livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 898 bytes
Line 
1# $Id: Portfile 62064 2009-12-28 16:36:34Z nox@macports.org $
2
3PortSystem 1.0
4
5name                    jdom
6version                 1.0
7categories              java devel textproc
8platforms               darwin
9maintainers             nomaintainer
10description             JDOM is a Java API for manipulating XML the Java way.
11long_description        ${description}
12
13homepage                http://www.jdom.org/
14master_sites    ${homepage}dist/source/ \
15                                ${homepage}dist/source/archive/
16checksums               md5 ce29ecc05d63fdb419737fd00c04c281
17
18depends_build   bin:ant:apache-ant
19depends_lib             bin:java:kaffe
20
21use_configure   no
22
23build.cmd               ant
24build.target    package javadoc
25
26destroot        {
27        xinstall -d -m 755 ${destroot}${prefix}/share/java/ \
28                ${destroot}${prefix}/share/doc/
29        xinstall -m 644 ${worksrcpath}/build/jdom.jar \
30                ${destroot}${prefix}/share/java/jdom.jar
31        file copy ${worksrcpath}/build/apidocs \
32                ${destroot}${prefix}/share/doc/${name}
33}
34
35livecheck.type  regex
36livecheck.url   http://www.jdom.org/dist/source/
37livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.