New port: textproc/apache-commons-csv

Java library read and write files in variations of the Comma Separated Value
format.

Approved by:	thierry (mentor, implicit)
This commit is contained in:
Pedro F. Giffuni 2020-08-11 01:31:11 +00:00
parent bef31f0cc4
commit b2497d1dce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544658
4 changed files with 55 additions and 0 deletions

View File

@ -43,6 +43,7 @@
SUBDIR += amberfish SUBDIR += amberfish
SUBDIR += ansifilter SUBDIR += ansifilter
SUBDIR += antiword SUBDIR += antiword
SUBDIR += apache-commons-csv
SUBDIR += apache-commons-digester SUBDIR += apache-commons-digester
SUBDIR += apache-poi SUBDIR += apache-poi
SUBDIR += apache-solr SUBDIR += apache-solr

View File

@ -0,0 +1,45 @@
# Created by: Pedro Giffuni <pfg@FreeBSD.org>
# $FreeBSD$
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 <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1597088558
SHA256 (commons-csv-1.8-bin.tar.gz) = a4f261f89e48e41603ddc7e79c7bb623be90fe0416fad76ab0ca15f587a7ea27
SIZE (commons-csv-1.8-bin.tar.gz) = 249294

View File

@ -0,0 +1,6 @@
Apache Commons CSV
Commons CSV reads and writes files in variations of the Comma Separated Value
(CSV) format.
WWW: https://commons.apache.org/proper/commons-csv/