aboutsummaryrefslogtreecommitdiffstats
path: root/security/nmapfe/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-09-10 14:26:35 +0800
committerobrien <obrien@FreeBSD.org>1999-09-10 14:26:35 +0800
commit1c534f9a86ba1e707c6bd9aad731568459ad09f1 (patch)
treecfa23b37bf13f6b0d5ed510eb01118de9e115b3c /security/nmapfe/Makefile
parent9026a098671226fa738c07c8aa669232f47f9d6a (diff)
downloadfreebsd-ports-gnome-1c534f9a86ba1e707c6bd9aad731568459ad09f1.tar.gz
freebsd-ports-gnome-1c534f9a86ba1e707c6bd9aad731568459ad09f1.tar.zst
freebsd-ports-gnome-1c534f9a86ba1e707c6bd9aad731568459ad09f1.zip
Due to popular demand, break the `nmapfe' GUI frontend for nmap off from
the main nmap port. The nmap port now does not depend on GUI libs and is thus installable on console-based machines.
Diffstat (limited to 'security/nmapfe/Makefile')
-rw-r--r--security/nmapfe/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/security/nmapfe/Makefile b/security/nmapfe/Makefile
index 6070375d84b6..e362a3e78ed6 100644
--- a/security/nmapfe/Makefile
+++ b/security/nmapfe/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>