diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-07 22:31:18 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-07 22:31:18 +0000 |
commit | e11145a0fa3a44db14d4f594ceefccf7a59c7493 (patch) | |
tree | 5195cc4a2f2093fd15ef0c814411c26cdc232d05 /security/nmap/Makefile | |
parent | 3b4617d0d88549f0fc5da4beb1f33d7570f57ea2 (diff) |
Notes
Diffstat (limited to 'security/nmap/Makefile')
-rw-r--r-- | security/nmap/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile index d919506dc95f..93b69993411f 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -6,10 +6,10 @@ # PORTNAME?= nmap -PORTVERSION= 3.46 +PORTVERSION= 3.48 CATEGORIES= security ipv6 -MASTER_SITES= http://download.insecure.org/nmap/dist/ -DISTNAME= nmap-${PORTVERSION} +MASTER_SITES= http://download.insecure.org/nmap/dist/ \ + http://www.mirrors.wiretapped.net/security/network-mapping/nmap/ MAINTAINER= eikemeier@fillmore-labs.com COMMENT?= Port scanning utility for large networks @@ -24,6 +24,8 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} .ifndef BUILD_NMAPFE MAN1= nmap.1 +MANLANG= "" de.ISO8859-1 es.ISO8859-1 fr.ISO8859-1 it.ISO8859-15 \ + lt.ISO8859-13 pt.ISO8859-1 ru.KOI8-R LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre @@ -42,7 +44,13 @@ ALL_TARGET= nmap INSTALL_TARGET= install-nmap post-install: - @${STRIP_CMD} ${PREFIX}/bin/nmap + @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; \ + done .ifndef NOPORTDOCS @${MKDIR} ${DOCSDIR} @for doc in CHANGELOG HACKING docs/nmap.dtd; do \ @@ -70,9 +78,6 @@ CONFIGURE_ARGS+=--with-nmapfe ALL_TARGET= nbase/libnbase.a nmapfe/nmapfe INSTALL_TARGET= install-nmapfe -post-install: - @${STRIP_CMD} ${PREFIX}/bin/nmapfe - .endif .include <bsd.port.mk> |