aboutsummaryrefslogblamecommitdiff
path: root/archivers/apache-commons-compress/Makefile
blob: bb77010d018018a9bf6a88512787cd3a6b136a39 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                
                    






                                                          
                                                                   
























                                                                         
PORTNAME=	commons-compress
PORTVERSION=	1.22
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
WWW=		https://commons.apache.org/proper/commons-compress/

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>