source: trunk/dports/java/jdom/Portfile

Last change on this file was 112070, checked in by jmr@…, 4 years ago

jdom: license, noarch

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