summaryrefslogtreecommitdiff
path: root/security/nmap
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-21 16:26:04 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-21 16:26:04 +0000
commit433d822a6a8e430b0c7e1862f79c97b687a99cff (patch)
tree577095c104f50622ab0ad3159d4ea21f8f552f69 /security/nmap
parentMake gweather working for Ukraine. Bump PORTREVISION. (diff)
Update to the latest
PR: 38305 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=59639
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/Makefile23
-rw-r--r--security/nmap/distinfo2
2 files changed, 19 insertions, 6 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index c0b7a6fb73e6..e09bd2a96220 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -7,17 +7,15 @@
#
PORTNAME?= nmap
-PORTVERSION= 2.54.b33
+PORTVERSION= 2.54.b34
CATEGORIES= security
MASTER_SITES= http://www.insecure.org/nmap/dist/ \
ftp://nuxi.ucdavis.edu/pub/misc/ \
http://www.mobis.com/ajax/projects/
DISTNAME= nmap-${PORTVERSION:S/.b/BETA/}
EXTRACT_SUFX= .tgz
-
-#PATCH_SITES= http://www.mobis.com/ajax/projects/
-
-MAINTAINER= ports@FreeBSD.org
+PLIST= pkg-plist
+MAINTAINER= dominic_marks@btinternet.com
.include <bsd.port.pre.mk>
@@ -27,9 +25,24 @@ 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>
diff --git a/security/nmap/distinfo b/security/nmap/distinfo
index 93fee389b6e4..10dc6fd9778a 100644
--- a/security/nmap/distinfo
+++ b/security/nmap/distinfo
@@ -1 +1 @@
-MD5 (nmap-2.54BETA33.tgz) = 4d82a7feb1ef5865900a8843935a7f63
+MD5 (nmap-2.54BETA34.tgz) = be5f0784fe0a318c9b54c09ffa1b565b