aboutsummaryrefslogtreecommitdiff
path: root/security/zenmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/zenmap/Makefile')
-rw-r--r--security/zenmap/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/security/zenmap/Makefile b/security/zenmap/Makefile
index 215ef89aebc3..74b1d5008319 100644
--- a/security/zenmap/Makefile
+++ b/security/zenmap/Makefile
@@ -6,26 +6,20 @@
# $FreeBSD$
#
-PORTNAME= nmapfe
-PORTVERSION= 0.9.5
-CATEGORIES= security
-MASTER_SITES= http://codebox.net/download/ \
- http://www.insecure.org/nmap/dist/
-EXTRACT_SUFX= .tgz
+MASTERDIR= ${.CURDIR}/../nmap
+PKGDIR= ${.CURDIR}
-MAINTAINER= obrien@FreeBSD.org
+PORTNAME= nmapfe
RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap
-.include <bsd.port.pre.mk>
-
-USE_XLIB= yes
USE_GTK= yes
-GNU_CONFIGURE= yes
-WRKSRC:= ${WRKDIR}/nmapfe
+#WRKSRC:= ${WRKSRC}/nmapfe
+INSTALL_TARGET= install-nmapfe
+MAN1= nmapfe.1 xnmap.1
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nmapfe ${PREFIX}/bin
- cd ${PREFIX}/bin && ${LN} -f nmapfe xnmap
+after-install:
+ test -e ${PREFIX}/bin/nmapfe \
+ || (cd ${PREFIX}/bin ; ${LN} -f nmapfe xnmap)
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"