You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
a158fe8fe6
commons-httpclient, commons-modeler: fix homepage
53 lines
1.6 KiB
Plaintext
53 lines
1.6 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name commons-lang
|
|
version 2.4
|
|
|
|
categories java
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
|
|
description Jakarta Commons-Lang
|
|
long_description The Lang Component provides a host of helper utilities for \
|
|
the java.lang API, notably String manipulation methods, basic \
|
|
numerical methods, object reflection, creation and serialization, \
|
|
and System properties. Additionally it contains an inheritable \
|
|
enum type, an exception structure that supports multiple types \
|
|
of nested-Exceptions, basic enhancements to java.util.Date and \
|
|
a series of utlities dedicated to help with building methods, \
|
|
such as hashCode, toString and equals.
|
|
homepage https://commons.apache.org/lang/
|
|
|
|
distname ${name}-${version}-src
|
|
master_sites apache:commons/lang/source/
|
|
checksums md5 625ff5f2f968dd908bca43c9469d6e6b \
|
|
sha1 61ec8be8c2cf8f4c4272545666f936dd9f7e2a29
|
|
|
|
depends_build bin:ant:apache-ant
|
|
depends_lib bin:java:kaffe
|
|
|
|
use_configure no
|
|
|
|
build.cmd ant
|
|
build.target dist
|
|
build.args -Dfinal.name=${name}
|
|
|
|
destroot {
|
|
# Ensure needed directories
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/java \
|
|
${destroot}${prefix}/share/doc
|
|
|
|
# Install jar
|
|
xinstall -m 644 ${worksrcpath}/${name}.jar \
|
|
${destroot}${prefix}/share/java
|
|
|
|
# Install docs
|
|
file copy ${worksrcpath}/xdocs \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url https://commons.apache.org/downloads/download_lang.cgi
|
|
livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"
|