1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/devel/apache-commons-io/Makefile
2020-09-26 16:33:10 +00:00

43 lines
965 B
Makefile

# Created by: Michael Winking <mwfp@foldl.net>
# $FreeBSD$
PORTNAME= commons-io
PORTVERSION= 2.8.0
CATEGORIES= devel java
MASTER_SITES= APACHE_COMMONS_BINARIES
PKGNAMEPREFIX= apache-
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
MAINTAINER= makc@FreeBSD.org
COMMENT= Collection of I/O utilities for Java
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_JAVA= yes
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= ${JAVAJARDIR}/${JARFILE_VER} \
${JAVAJARDIR}/${JARFILE}
PORTDOCS= *
JARFILE= ${PORTNAME}.jar
JARFILE_VER= ${PORTNAME}-${PORTVERSION}.jar
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_DATA} ${WRKSRC}/${JARFILE_VER} ${STAGEDIR}${JAVAJARDIR}
${LN} -sf ${JARFILE_VER} ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
do-install-DOCS-on:
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC} && ${INSTALL_DATA} NOTICE.txt \
RELEASE-NOTES.txt ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>