aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-04-02 02:10:06 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-04-02 02:10:06 +0800
commitfde6288e5ea4c248c1b16bcc0be0b41bbab728ab (patch)
tree325f9a4ea029329b8bb7b9871e1545493efb331b /www
parenteb803179ea23a34de35be736d1dc145ad7f29f58 (diff)
downloadfreebsd-ports-gnome-fde6288e5ea4c248c1b16bcc0be0b41bbab728ab.tar.gz
freebsd-ports-gnome-fde6288e5ea4c248c1b16bcc0be0b41bbab728ab.tar.zst
freebsd-ports-gnome-fde6288e5ea4c248c1b16bcc0be0b41bbab728ab.zip
- Add LICENSE
- Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'www')
-rw-r--r--www/myfaces/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/www/myfaces/Makefile b/www/myfaces/Makefile
index b0e6f0d37f02..7913ce1a6e6b 100644
--- a/www/myfaces/Makefile
+++ b/www/myfaces/Makefile
@@ -10,20 +10,24 @@ MASTER_SITES= APACHE/${PORTNAME}/binaries
MAINTAINER= ports@FreeBSD.org
COMMENT= Free open source JavaServer(tm) Faces implementation
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
+NO_ARCH= yes
USES= cpe
CPE_VENDOR= apache
-OPTIONS_DEFINE= DOCS
-
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PORTDOCS= javadoc tlddoc LICENSE.txt NOTICE.txt
JAR_FILES= myfaces-all.jar myfaces-api.jar myfaces-impl.jar tomahawk.jar
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
${JAR_FILES:S|^|%%DATADIR%%/|}
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_DATA} ${WRKSRC}/myfaces-all.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${MKDIR} ${STAGEDIR}${DATADIR}
@@ -31,7 +35,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${jarfile} ${STAGEDIR}${DATADIR}/${jarfile}
.endfor
- cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
- cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
+do-install-DOCS-on:
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>