aboutsummaryrefslogtreecommitdiffstats
path: root/security/webscarab
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-03-18 11:12:18 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-03-18 11:12:18 +0800
commit3f9cde8ae830d455eb3763e79593d975070241c4 (patch)
treeee0230c13c4f212aac495b524529eb9ecda7b5c7 /security/webscarab
parent6d4051873df76cd66ae6dd284638e94878355e06 (diff)
downloadfreebsd-ports-gnome-3f9cde8ae830d455eb3763e79593d975070241c4.tar.gz
freebsd-ports-gnome-3f9cde8ae830d455eb3763e79593d975070241c4.tar.zst
freebsd-ports-gnome-3f9cde8ae830d455eb3763e79593d975070241c4.zip
- Add NO_ARCH
- Switch to options helpers
Diffstat (limited to 'security/webscarab')
-rw-r--r--security/webscarab/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/security/webscarab/Makefile b/security/webscarab/Makefile
index 9e730f19d244..96da40c58733 100644
--- a/security/webscarab/Makefile
+++ b/security/webscarab/Makefile
@@ -11,9 +11,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Framework for analysing HTTP and HTTPS web application traffic
USES= zip
-USE_JAVA= YES
+USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
+NO_ARCH= yes
WRKSRC= ${WRKDIR}/${DISTNAME}-1304
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
@@ -21,8 +22,6 @@ PORTDOCS= README LICENSE ChangeLog
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
post-extract:
${RM} ${WRKSRC}/lib/W32WinInet.dll
@@ -33,14 +32,16 @@ pre-install:
< ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}
do-install:
- ${MKDIR} ${STAGEDIR}${DATADIR}/lib
+ @${MKDIR} ${STAGEDIR}${DATADIR}/lib
${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}/lib
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}_lite
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
-. endfor
+.for i in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
+.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>