Changeset View
Changeset View
Standalone View
Standalone View
head/java/apache-commons-primitives/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Created by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> | |||||
# $FreeBSD$ | |||||
PORTNAME= commons-primitives | |||||
PORTVERSION= 1.0 | |||||
CATEGORIES= java | |||||
MASTER_SITES= APACHE_COMMONS_SOURCE | |||||
PKGNAMEPREFIX= apache- | |||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src | |||||
MAINTAINER= ports@FreeBSD.org | |||||
COMMENT= Library supporting Java primitive types | |||||
LICENSE= APACHE20 | |||||
USE_JAVA= yes | |||||
JAVA_VERSION= 1.6+ | |||||
USE_ANT= yes | |||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | |||||
ALL_TARGET= jar | |||||
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar | |||||
PORTDOCS= * | |||||
OPTIONS_DEFINE= DOCS | |||||
.include <bsd.port.options.mk> | |||||
.if ${PORT_OPTIONS:MDOCS} | |||||
ALL_TARGET+= javadoc | |||||
.endif | |||||
do-install: | |||||
${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}.jar \ | |||||
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar | |||||
.if ${PORT_OPTIONS:MDOCS} | |||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | |||||
(cd ${WRKSRC}/target/docs && ${COPYTREE_SHARE} api ${STAGEDIR}${DOCSDIR}) | |||||
${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR} | |||||
.endif | |||||
.include <bsd.port.mk> |