# Created by: Pedro Giffuni # $FreeBSD: head/textproc/apache-commons-csv/Makefile 544658 2020-08-11 01:31:11Z pfg $ PORTNAME= commons-csv PORTVERSION= 1.8 CATEGORIES= textproc java devel MASTER_SITES= APACHE_COMMONS_BINARIES PKGNAMEPREFIX= apache- DISTNAME= ${PORTNAME}-${PORTVERSION}-bin MAINTAINER= pfg@FreeBSD.org COMMENT= Java support for Comma Separated Value format LICENSE= APACHE20 BUILD_DEPENDS= ${JAR_DEPENDS} RUN_DEPENDS= ${JAR_DEPENDS} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} NO_BUILD= yes NO_ARCH= yes USE_JAVA= yes JARFILE= ${PORTNAME}.jar PLIST_FILES= ${JAVAJARDIR}/${JARFILE} OPTIONS_DEFINE= DOCS OTHERDOCS= LICENSE.txt NOTICE.txt RELEASE-NOTES.txt PORTDOCS= * do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${JARFILE} @${ECHO_MSG} " [ DONE ]" do-install-DOCS-on: @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @cd ${WRKSRC}/apidocs \ && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; ${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ @${ECHO_MSG} " [ DONE ]" .include