mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 09:56:43 -04:00
Upgrade jakarta-commons-lang3 to version 3.7.
Follow the lead of some of the other jakarta-commons ports and download the pre-built binary .jar since building from source using ant has been removed from jakarta-commons-lang3 a few versions ago. Install the .jar file with the version number and then symlink it to the .jar file without the version number as is done by jakarta-commons-logging. Pet portlint. Unwrap a line that is no longer too long.
This commit is contained in:
parent
c7313a45d3
commit
cf00d93cd7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460251
2 changed files with 14 additions and 13 deletions
|
@ -1,37 +1,38 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= commons-lang3
|
||||
PORTVERSION= 3.4
|
||||
PORTVERSION= 3.7
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= APACHE_COMMONS_SOURCE/lang
|
||||
MASTER_SITES= APACHE_COMMONS_BINARIES/lang
|
||||
PKGNAMEPREFIX= jakarta-
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
|
||||
|
||||
MAINTAINER= truckman@FreeBSD.org
|
||||
COMMENT= Jakarta library with helper utilities for the java.lang API
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.7+
|
||||
USE_ANT= yes
|
||||
ALL_TARGET= jar
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
JARFILE= ${PORTNAME}-${PORTVERSION}.jar
|
||||
DESTJARFILE= ${PORTNAME}.jar
|
||||
PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
|
||||
PLIST_FILES= ${JAVAJARDIR}/${JARFILE} \
|
||||
${JAVAJARDIR}/${DESTJARFILE}
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOCS_ALL_TARGET= javadoc
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/target/${JARFILE} \
|
||||
${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
|
||||
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
|
||||
${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
|
||||
|
||||
do-install-DOCS-on:
|
||||
(cd ${WRKSRC}/target/apidocs && ${COPYTREE_SHARE} . \
|
||||
${STAGEDIR}${DOCSDIR})
|
||||
(cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1506639758
|
||||
SHA256 (commons-lang3-3.4-src.tar.gz) = 6f9a16e264aec59e4c7148763223480171f756f020d7a30aa617caabd382fa76
|
||||
SIZE (commons-lang3-3.4-src.tar.gz) = 771275
|
||||
TIMESTAMP = 1517215987
|
||||
SHA256 (commons-lang3-3.7-bin.tar.gz) = 94dc8289ce90b77b507d9257784d9a43b402786de40c164f6e3990e221a2a4d2
|
||||
SIZE (commons-lang3-3.7-bin.tar.gz) = 4176881
|
||||
|
|
Loading…
Add table
Reference in a new issue