cf00d93cd7
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.
39 lines
867 B
Makefile
39 lines
867 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= commons-lang3
|
|
PORTVERSION= 3.7
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= APACHE_COMMONS_BINARIES/lang
|
|
PKGNAMEPREFIX= jakarta-
|
|
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+
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
JARFILE= ${PORTNAME}-${PORTVERSION}.jar
|
|
DESTJARFILE= ${PORTNAME}.jar
|
|
PLIST_FILES= ${JAVAJARDIR}/${JARFILE} \
|
|
${JAVAJARDIR}/${DESTJARFILE}
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
DOCS_ALL_TARGET= javadoc
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
|
|
${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${DESTJARFILE}
|
|
|
|
do-install-DOCS-on:
|
|
(cd ${WRKSRC}/apidocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|