# Created by: Herve Quiroz # $FreeBSD: head/java/jakarta-commons-primitives/Makefile 386097 2015-05-11 18:34:57Z mat $ PORTNAME= commons-primitives PORTVERSION= 1.0 PORTREVISION= 3 CATEGORIES= java MASTER_SITES= APACHE_COMMONS_SOURCE PKGNAMEPREFIX= jakarta- DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= Library supporting Java primitive types 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 .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