aboutsummaryrefslogtreecommitdiffstats
path: root/security/nmap
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-05-22 00:26:04 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-05-22 00:26:04 +0800
commit2476fc2c3e4a0e45e3aafb0ee808e0106a69fbb9 (patch)
treeabc85b588cab3e57d5440e0a95debd100b0581c0 /security/nmap
parentab23dd2accd3eb370a1b4904490f94e569af3bed (diff)
downloadfreebsd-ports-gnome-2476fc2c3e4a0e45e3aafb0ee808e0106a69fbb9.tar.gz
freebsd-ports-gnome-2476fc2c3e4a0e45e3aafb0ee808e0106a69fbb9.tar.zst
freebsd-ports-gnome-2476fc2c3e4a0e45e3aafb0ee808e0106a69fbb9.zip
Update to the latest
PR: 38305 Submitted by: maintainer
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