aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-28 01:36:35 +0800
committerobrien <obrien@FreeBSD.org>2002-05-28 01:36:35 +0800
commitb9ad56059acfdfa74c91d18df2fe79c1e772df0f (patch)
tree3fd86b6a4ea2899153537577a8cc2af90861e550
parent82d06b771bc8f9cfe83bdb3a32fc060c588ccaad (diff)
downloadfreebsd-ports-gnome-b9ad56059acfdfa74c91d18df2fe79c1e772df0f.tar.gz
freebsd-ports-gnome-b9ad56059acfdfa74c91d18df2fe79c1e772df0f.tar.zst
freebsd-ports-gnome-b9ad56059acfdfa74c91d18df2fe79c1e772df0f.zip
Portlint this, and remove the 1/2backed nmapfe GUI support as there is a
proper nmapfe port. I do as one that created and maintained this port for 4 years.
-rw-r--r--security/nmap/Makefile17
1 files changed, 1 insertions, 16 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index e09bd2a96220..31757464ce78 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= http://www.insecure.org/nmap/dist/ \
http://www.mobis.com/ajax/projects/
DISTNAME= nmap-${PORTVERSION:S/.b/BETA/}
EXTRACT_SUFX= .tgz
-PLIST= pkg-plist
+
MAINTAINER= dominic_marks@btinternet.com
.include <bsd.port.pre.mk>
@@ -25,24 +25,9 @@ CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
.endif
MAN1?= nmap.1
-pre-configure:
-.if !defined (HAVE_GTK)
- @${SED} -e "s,) nmapfe/nmapfe,),g" \
- ${WRKSRC}/Makefile.in > ${WRKDIR}/Makefile.in.temp
- @${MV} ${WRKDIR}/Makefile.in.temp ${WRKSRC}/Makefile.in
-.else
- @${SED} -e "s,gtk-config,gtk12-config,g" \
- ${WRKSRC}/nmapfe/configure > ${WRKDIR}/configure.temp
- @${MV} ${WRKDIR}/configure.temp ${WRKSRC}/nmapfe/configure
-.endif
-
.if !target(post-install) && (${PORTNAME} == "nmap")
post-install:
@strip ${PREFIX}/bin/nmap
-.if defined (HAVE_GTK)
- cd ${WRKSRC} && ${MAKE} install-nmapfe
- echo "bin/nmapfe" >> ${PLIST}
-.endif
.endif
.include <bsd.port.post.mk>