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

Last change on this file since 100159 was 62065, checked in by nox@…, 10 years ago

Update jdom to 1.1.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 62065 2009-12-28 16:36:45Z nox@macports.org $
2
3PortSystem 1.0
4
5name                    jdom
6version                 1.1.1
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/
16
17checksums       md5     0ad116194e3101fb08fab8f6f00cc58f \
18                sha1    affa11961f93aefef5f9df3173260c269df247c9 \
19                rmd160  f677cdfaf6510d9117288edda75f28a86bff7d36
20
21depends_build   bin:ant:apache-ant
22depends_lib             bin:java:kaffe
23
24use_configure   no
25
26worksrcdir      ${name}
27
28build.cmd               ant
29build.target    package javadoc
30
31destroot        {
32        xinstall -d ${destroot}${prefix}/share/java/ \
33                ${destroot}${prefix}/share/doc/
34        xinstall -m 644 ${worksrcpath}/build/jdom.jar \
35                ${destroot}${prefix}/share/java/jdom.jar
36        file copy ${worksrcpath}/build/apidocs \
37                ${destroot}${prefix}/share/doc/${name}
38}
39
40livecheck.type  regex
41livecheck.url   http://www.jdom.org/dist/source/
42livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.