freebsd-ports/java/apache-commons-lang3/Makefile
Don Lewis f2b6d97a75 java/apache-commons-lang3: Upgrade to 3.12.0
This version is present on the Apache mirror sites.

MFH:		2021Q4
2021-10-09 15:55:11 -07:00

35 lines
836 B
Makefile

PORTNAME= commons-lang3
PORTVERSION= 3.12.0
CATEGORIES= java devel
MASTER_SITES= APACHE_COMMONS_BINARIES/lang
PKGNAMEPREFIX= apache-
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= truckman@FreeBSD.org
COMMENT= Apache library with helper utilities for the java.lang API
LICENSE= APACHE20
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_JAVA= yes
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>