b0be299bab
- Update to 3.2.2 - the latest release in 3.x series - Add LICENSE_FILE - Drop now needless dos2unix conversion - Rework port description
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# Created by: Ernst de Haan <znerd@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= commons-collections
|
|
PORTVERSION= 3.2.2
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= APACHE_COMMONS_SOURCE
|
|
PKGNAMEPREFIX= apache-
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= Classes that extend/augment the Java Collections Framework
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 8+
|
|
USE_ANT= yes
|
|
|
|
ALL_TARGET= jar
|
|
PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar
|
|
OTHERDOCS= DEVELOPERS-GUIDE.html PROPOSAL.html README.txt RELEASE-NOTES.txt
|
|
PORTDOCS= apidocs ${OTHERDOCS}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_ALL_TARGET= javadoc
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar \
|
|
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/build/docs && \
|
|
${COPYTREE_SHARE} apidocs ${STAGEDIR}${DOCSDIR})
|
|
${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|