aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-10-13 21:52:54 +0800
committereik <eik@FreeBSD.org>2004-10-13 21:52:54 +0800
commit5e79db71f2c087b12149abbcaa49d70bddd8c59d (patch)
tree9cc6d9ec7a5fe708cad8355c3663fec65839339f
parenta2efb9521e371c3bf32192f2bc24bfd448131c06 (diff)
downloadfreebsd-ports-gnome-5e79db71f2c087b12149abbcaa49d70bddd8c59d.tar.gz
freebsd-ports-gnome-5e79db71f2c087b12149abbcaa49d70bddd8c59d.tar.zst
freebsd-ports-gnome-5e79db71f2c087b12149abbcaa49d70bddd8c59d.zip
- update to version 3.71-PRE1
-rw-r--r--security/nmap/Makefile19
-rw-r--r--security/nmap/distinfo4
2 files changed, 15 insertions, 8 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index f149fdcfa9de..92929914d447 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -9,15 +9,18 @@ PORTNAME?= nmap
PORTVERSION= ${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/[^a-z0-9+]+/./g}
CATEGORIES= security ipv6
MASTER_SITES= http://download.insecure.org/nmap/dist/ \
- http://www.mirrors.wiretapped.net/security/network-mapping/nmap/
+ http://www.mirrors.wiretapped.net/security/network-mapping/nmap/ \
+ http://ftp.iasi.roedu.net/mirrors/download.insecure.org/nmap/dist/ \
+ http://shadow.cc.columbia.edu/pub/software/nmap/
DISTNAME= nmap-${DISTVERSION} # needed for security/nmapfe
MAINTAINER= eik@FreeBSD.org
COMMENT?= Port scanning utility for large networks
-DISTVERSION= 3.70
+DISTVERSION= 3.71-PRE1
USE_BZIP2= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-localdirs
@@ -46,18 +49,22 @@ CONFIGURE_ARGS+= --without-nmapfe
ALL_TARGET= nmap
INSTALL_TARGET= install-nmap
+post-configure:
+ @${REINPLACE_CMD} -e "s|^DESTDIR *=|& ${DESTDIR}|" ${WRKSRC}/Makefile
+
post-install:
@for lang in de.ISO8859-1=german es.ISO8859-1=spanish fr.ISO8859-1=french it.ISO8859-15=italian \
lt.ISO8859-13=lithuanian pt.ISO8859-1=portuguese ru.KOI8-R=russian; do \
llang="`expr $${lang} : '\([^=]*\)'`"; \
elang="`expr $${lang} : '.*=\([^=]*\)'`"; \
- ${MKDIR} ${MAN1PREFIX}/man/$${llang}/man1; \
- ${INSTALL_MAN} ${WRKSRC}/docs/nmap_$${elang}.1 ${MAN1PREFIX}/man/$${llang}/man1/nmap.1; \
+ ${MKDIR} ${DESTDIR}${MAN1PREFIX}/man/$${llang}/man1; \
+ ${INSTALL_MAN} ${WRKSRC}/docs/nmap_$${elang}.1 \
+ ${DESTDIR}${MAN1PREFIX}/man/$${llang}/man1/nmap.1; \
done
.ifndef NOPORTDOCS
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DESTDIR}${DOCSDIR}
@for doc in CHANGELOG HACKING docs/nmap.dtd; do \
- ${INSTALL_DATA} ${WRKSRC}/$${doc} ${DOCSDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${doc} ${DESTDIR}${DOCSDIR}; \
done
.endif
diff --git a/security/nmap/distinfo b/security/nmap/distinfo
index 5a847d6bec0f..2fe952e8367e 100644
--- a/security/nmap/distinfo
+++ b/security/nmap/distinfo
@@ -1,2 +1,2 @@
-MD5 (nmap-3.70.tar.bz2) = b9a92e48324cd393edaef773b294f36b
-SIZE (nmap-3.70.tar.bz2) = 1435675
+MD5 (nmap-3.71-PRE1.tar.bz2) = 06dcf92f0dfa9dbb9efaa4d361e202fa
+SIZE (nmap-3.71-PRE1.tar.bz2) = 1438166