# Created by: 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 USES= cpe CPE_VENDOR= ${PORTNAME}_project USE_JAVA= yes 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