aboutsummaryrefslogtreecommitdiff
path: root/security/nmap/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-05-27 17:36:35 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-05-27 17:36:35 +0000
commit12a21ddb5bd9f6e2df7ed546bb25c54ee6613d92 (patch)
treefdd41f99922ab3534c3ed79fd26a1049867d9980 /security/nmap/Makefile
parent4bbbcd91f574db0cdc5d717d2a9e9a08d3a242b9 (diff)
downloadports-12a21ddb5bd9f6e2df7ed546bb25c54ee6613d92.tar.gz
ports-12a21ddb5bd9f6e2df7ed546bb25c54ee6613d92.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.
Notes
Notes: svn path=/head/; revision=60145
Diffstat (limited to 'security/nmap/Makefile')
-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>