mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name jdom
|
|
version 1.1.1
|
|
categories java devel textproc
|
|
license Apache-1.1
|
|
platforms any
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
description JDOM is a Java API for manipulating XML the Java way.
|
|
long_description {*}${description}
|
|
|
|
homepage http://www.jdom.org/
|
|
master_sites ${homepage}dist/source/ \
|
|
${homepage}dist/source/archive/
|
|
|
|
checksums md5 0ad116194e3101fb08fab8f6f00cc58f \
|
|
sha1 affa11961f93aefef5f9df3173260c269df247c9 \
|
|
rmd160 f677cdfaf6510d9117288edda75f28a86bff7d36
|
|
|
|
depends_build bin:ant:apache-ant
|
|
depends_lib bin:java:kaffe
|
|
|
|
use_configure no
|
|
|
|
worksrcdir ${name}
|
|
|
|
build.cmd ant
|
|
build.target package javadoc
|
|
|
|
destroot {
|
|
xinstall -d ${destroot}${prefix}/share/java/ \
|
|
${destroot}${prefix}/share/doc/
|
|
xinstall -m 644 ${worksrcpath}/build/jdom.jar \
|
|
${destroot}${prefix}/share/java/jdom.jar
|
|
file copy ${worksrcpath}/build/apidocs \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url http://www.jdom.org/dist/source/archive/
|
|
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
|