diff options
Diffstat (limited to 'security/zenmap/Makefile')
-rw-r--r-- | security/zenmap/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/security/zenmap/Makefile b/security/zenmap/Makefile index 6070375d84b6..e362a3e78ed6 100644 --- a/security/zenmap/Makefile +++ b/security/zenmap/Makefile @@ -8,7 +8,7 @@ # DISTNAME= nmap-2.3BETA5 -PKGNAME= nmap-2.3b5 +PKGNAME= nmapfe-19990907 CATEGORIES= security net MASTER_SITES= http://www.insecure.org/nmap/dist/ \ ftp://relay.nuxi.com/pub/misc/ @@ -17,6 +17,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= obrien@FreeBSD.org LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap .include <bsd.port.pre.mk> @@ -24,15 +25,12 @@ USE_XLIB= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/share/misc MAKE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config" -.if ${OSVERSION} < 300004 -CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h> -.endif -MAN1= nmap.1 post-extract: @${RM} -rf ${WRKSRC}/libpcap* -post-install: - @strip ${PREFIX}/bin/nmap +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/nmapfe/nmapfe ${PREFIX}/bin + cd ${PREFIX}/bin && ${LN} -f nmapfe xnmap .include <bsd.port.post.mk> |