Date: Sun, 1 May 2022 20:11:38 GMT From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d0b89749222f - main - archivers/apache-commons-compress: adding a Java library to work with various archivers Message-ID: <202205012011.241KBcYh089127@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=d0b89749222fcc872fd318dcb15be44ed3eabc7b commit d0b89749222fcc872fd318dcb15be44ed3eabc7b Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2022-04-29 14:39:46 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2022-05-01 20:09:06 +0000 archivers/apache-commons-compress: adding a Java library to work with various archivers --- archivers/Makefile | 1 + archivers/apache-commons-compress/Makefile | 36 +++++++++++++++++++++++++++++ archivers/apache-commons-compress/distinfo | 3 +++ archivers/apache-commons-compress/pkg-descr | 5 ++++ 4 files changed, 45 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index 1d34f2283c5f..bd9e0a332cee 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -5,6 +5,7 @@ SUBDIR += R-cran-zip SUBDIR += advancecomp SUBDIR += amigadepacker + SUBDIR += apache-commons-compress SUBDIR += arc SUBDIR += arj SUBDIR += ark diff --git a/archivers/apache-commons-compress/Makefile b/archivers/apache-commons-compress/Makefile new file mode 100644 index 000000000000..26a0a25ce3d4 --- /dev/null +++ b/archivers/apache-commons-compress/Makefile @@ -0,0 +1,36 @@ +# Created by: Thierry Thomas <thierry@pompo.net> + +PORTNAME= commons-compress +PORTVERSION= 1.21 +CATEGORIES= archivers java +MASTER_SITES= APACHE_COMMONS_BINARIES +PKGNAMEPREFIX= apache- +DISTNAME= ${PORTNAME}-${PORTVERSION}-bin + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Classes for working with various archivers + +LICENSE= APACHE20 + +USE_JAVA= yes +JAVA_VERSION= 8+ + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +NO_BUILD= yes +NO_ARCH= yes + +PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar +PORTDOCS= apidocs + +OPTIONS_DEFINE= DOCS + +do-install: + @${MKDIR} ${STAGEDIR}${JAVAJARDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} apidocs ${STAGEDIR}${DOCSDIR}) + +.include <bsd.port.mk> diff --git a/archivers/apache-commons-compress/distinfo b/archivers/apache-commons-compress/distinfo new file mode 100644 index 000000000000..302180cf05e0 --- /dev/null +++ b/archivers/apache-commons-compress/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1651242838 +SHA256 (commons-compress-1.21-bin.tar.gz) = b161742b93123925d4c412c2f7ed7f445e524f8b48cd52869ca42f4adb952ef3 +SIZE (commons-compress-1.21-bin.tar.gz) = 37596020 diff --git a/archivers/apache-commons-compress/pkg-descr b/archivers/apache-commons-compress/pkg-descr new file mode 100644 index 000000000000..0674115c331c --- /dev/null +++ b/archivers/apache-commons-compress/pkg-descr @@ -0,0 +1,5 @@ +The Apache Commons Compress library defines an API for working with ar, cpio, +Unix dump, tar, zip, gzip, XZ, Pack200, bzip2, 7z, arj, lzma, snappy, DEFLATE, +lz4, Brotli, Zstandard, DEFLATE64 and Z files. + +WWW: https://commons.apache.org/proper/commons-compress/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205012011.241KBcYh089127>