freebsd-ports/textproc/dom4j/Makefile
Mathieu Arnold 4a5b2c81ea Convert to staging.
Sponsored by:	Absolight
2014-01-21 07:47:58 +00:00

30 lines
646 B
Makefile

# Created by: <glewis@FreeBSD.org>
# $FreeBSD$
PORTNAME= dom4j
PORTVERSION= 1.6.1
PORTREVISION= 2
CATEGORIES= textproc java
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Open Source XML framework for Java
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= *
do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>