aboutsummaryrefslogtreecommitdiff
path: root/www/myfaces
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:11:33 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 23:11:33 +0000
commita36cc6f76069b486e45004dd475af0181e2d50a3 (patch)
tree980687f44e6ea0b8061f73b70997b5ed094b78d7 /www/myfaces
parentf093667af6bed85e379cf39682c94edcbfba0c61 (diff)
downloadports-a36cc6f76069b486e45004dd475af0181e2d50a3.tar.gz
ports-a36cc6f76069b486e45004dd475af0181e2d50a3.zip
Notes
Diffstat (limited to 'www/myfaces')
-rw-r--r--www/myfaces/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/www/myfaces/Makefile b/www/myfaces/Makefile
index def650bd7fa8..b3bac8fb7604 100644
--- a/www/myfaces/Makefile
+++ b/www/myfaces/Makefile
@@ -15,10 +15,10 @@ USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
+OPTIONS_DEFINE= DOCS
+
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
-.if !defined(NOPORTDOCS)
PORTDOCS= javadoc tlddoc LICENSE.txt NOTICE.txt
-.endif
JAR_FILES= myfaces-all.jar myfaces-api.jar myfaces-impl.jar tomahawk.jar
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
${JAR_FILES:S|^|%%DATADIR%%/|}
@@ -33,9 +33,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${jarfile} ${STAGEDIR}${DATADIR}/${jarfile}
.endfor
-.if !defined(NOPORTDOCS)
cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
-.endif
.include <bsd.port.post.mk>