aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-06-05 18:09:41 +0800
committeritetcu <itetcu@FreeBSD.org>2006-06-05 18:09:41 +0800
commit071f0a02c454ae95ecaf4676fb6d17de9dfd04e6 (patch)
treeccdad6883b54693daf3aee8b993beef8884105d4 /security
parent9b75efb87656f74dd44881edf018f54dd8360948 (diff)
downloadfreebsd-ports-gnome-071f0a02c454ae95ecaf4676fb6d17de9dfd04e6.tar.gz
freebsd-ports-gnome-071f0a02c454ae95ecaf4676fb6d17de9dfd04e6.tar.zst
freebsd-ports-gnome-071f0a02c454ae95ecaf4676fb6d17de9dfd04e6.zip
Translated manual pages for security/nmap. Current list of
translations includes Spanish, French, Croatian, Japanese, Polish, Portuguese, Romanian, Slovak and Chinese. WWW: http://www.insecure.org/nmap/ PR: ports/93598 Submitted by: Daniel Roethlisberger <daniel@roe.ch> Approved by: lawrance (mentor, implicit)
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/nmap-i18n-man/Makefile97
-rw-r--r--security/nmap-i18n-man/distinfo30
-rw-r--r--security/nmap-i18n-man/pkg-descr5
-rw-r--r--security/nmap-i18n-man/pkg-plist20
5 files changed, 153 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index da1c6bfcd593..6e17e471a25b 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -258,6 +258,7 @@
SUBDIR += newpki-server
SUBDIR += nikto
SUBDIR += nmap
+ SUBDIR += nmap-i18n-man
SUBDIR += nmapfe
SUBDIR += nofgpg
SUBDIR += nss
diff --git a/security/nmap-i18n-man/Makefile b/security/nmap-i18n-man/Makefile
new file mode 100644
index 000000000000..73da3c42c87e
--- /dev/null
+++ b/security/nmap-i18n-man/Makefile
@@ -0,0 +1,97 @@
+# Ports collection makefile for: nmap-i18n-man
+# Date created: 2006-02-19
+# Whom: Daniel Roethlisberger <daniel@roe.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nmap-i18n-man
+PORTVERSION= 4.01.20060302
+CATEGORIES= security ipv6
+MASTER_SITES= http://www.insecure.org/nmap/data/man-xlate/ \
+ http://home.tiscalinet.ch/~roe/distfiles/${DIST_SUBDIR}/
+DISTFILES= ${LANG_MAP:C/^/nmap-/:C/=[^=]*$/.1/} # OPTIONS based
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= daniel@roe.ch
+COMMENT= Translated manual pages for nmap
+
+BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
+
+MAN1= nmap.1
+MANLANG= ${LANG_MAP:C/^[^=]*=//} # OPTIONS based
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= ${WRKDIR}
+NO_WRKSUBDIR= yes
+
+OPTIONS= MAN_ES "Spanish" On \
+ MAN_FR "French" On \
+ MAN_HR "Croatian" On \
+ MAN_JP "Japanese" On \
+ MAN_PL "Polish" On \
+ MAN_PT_BR "Portuguese (Brazil)" On \
+ MAN_PT_PT "Portuguese (Portugal)" On \
+ MAN_RO "Romanian" On \
+ MAN_SK "Slovak" On \
+ MAN_ZH "Chinese" On
+
+.include <bsd.port.pre.mk>
+
+LANG_MAP=
+.if !defined(WITHOUT_MAN_ES)
+LANG_MAP+= es=es.ISO8859-1
+.endif
+.if !defined(WITHOUT_MAN_FR)
+LANG_MAP+= fr=fr.ISO8859-1
+.endif
+.if !defined(WITHOUT_MAN_HR)
+LANG_MAP+= hr=hr.ISO8859-2
+.endif
+.if !defined(WITHOUT_MAN_JP)
+LANG_MAP+= jp=jp.eucJP
+.endif
+.if !defined(WITHOUT_MAN_PL)
+LANG_MAP+= pl=pl.ISO8859-2
+.endif
+.if !defined(WITHOUT_MAN_PT_BR)
+LANG_MAP+= pt-br=pt_BR.ISO8859-1
+.endif
+.if !defined(WITHOUT_MAN_PT_PT)
+LANG_MAP+= pt-pt=pt.ISO8859-1
+.endif
+.if !defined(WITHOUT_MAN_RO)
+LANG_MAP+= ro=ro.ISO8859-2
+.endif
+.if !defined(WITHOUT_MAN_SK)
+LANG_MAP+= sk=sk.ISO8859-2
+.endif
+.if !defined(WITHOUT_MAN_ZH)
+LANG_MAP+= zh=zh.Big5
+.endif
+
+ICONV?=${LOCALBASE}/bin/iconv
+
+do-build:
+ @for token in ${LANG_MAP}; do \
+ lang="`expr $${token} : '\([^=]*\)'`"; \
+ locale="`expr $${token} : '.*=\([^=]*\)'`"; \
+ charset="`expr $${locale} : '[^.]*\.\([^.]*\)'`"; \
+ ${ECHO_CMD} Converting nmap-$${lang}.1 from UTF-8 to $${charset}; \
+ ${ICONV} -c -f UTF-8 -t $${charset} ${WRKSRC}/nmap-$${lang}.1 \
+ > ${WRKSRC}/nmap-$${lang}.1.$${charset} || true; \
+ done
+
+do-install:
+ @for token in ${LANG_MAP}; do \
+ lang="`expr $${token} : '\([^=]*\)'`"; \
+ locale="`expr $${token} : '.*=\([^=]*\)'`"; \
+ charset="`expr $${locale} : '[^.]*\.\([^.]*\)'`"; \
+ ${MKDIR} ${DESTDIR}${MAN1PREFIX}/man/$${locale}/man1; \
+ ${ECHO_CMD} Installing man/$${locale}/man1/nmap.1; \
+ ${INSTALL_MAN} ${WRKSRC}/nmap-$${lang}.1.$${charset} \
+ ${DESTDIR}${MAN1PREFIX}/man/$${locale}/man1/nmap.1; \
+ done
+
+.include <bsd.port.post.mk>
diff --git a/security/nmap-i18n-man/distinfo b/security/nmap-i18n-man/distinfo
new file mode 100644
index 000000000000..70ee05c5ad43
--- /dev/null
+++ b/security/nmap-i18n-man/distinfo
@@ -0,0 +1,30 @@
+MD5 (nmap-i18n-man-4.01.20060302/nmap-es.1) = 224d43a052b62e6d4a3989b14d31fb8d
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-es.1) = 6133adb529b211085f119cd5b3c9a6e0491ca61fa7f9cb6a9ac0d3db4686279e
+SIZE (nmap-i18n-man-4.01.20060302/nmap-es.1) = 69632
+MD5 (nmap-i18n-man-4.01.20060302/nmap-fr.1) = 02c7512a5af4909a28e64a3fbe934c88
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-fr.1) = 1e4c2b6023be729f44dc90fee55587a87bdf2f2dcf20138813c787790c014e43
+SIZE (nmap-i18n-man-4.01.20060302/nmap-fr.1) = 150366
+MD5 (nmap-i18n-man-4.01.20060302/nmap-hr.1) = 8ea357a84ab40fbd9208a58f95c31aff
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-hr.1) = 99e7c66c7c51468de6a1a424dbeda63b9e6198beb84c98ea57d10ded7f93ca0d
+SIZE (nmap-i18n-man-4.01.20060302/nmap-hr.1) = 135880
+MD5 (nmap-i18n-man-4.01.20060302/nmap-jp.1) = 6cc4c36a3f64c78914c73d91e94c4647
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-jp.1) = 04d1b6eb5b14eb97eecfc39caab23c6be153b3af3a9204fcdd4c2c7c88cc7aa7
+SIZE (nmap-i18n-man-4.01.20060302/nmap-jp.1) = 177528
+MD5 (nmap-i18n-man-4.01.20060302/nmap-pl.1) = bb261f86892757a76a4a165eba4558f1
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-pl.1) = c82089c77e0e798bc616e6f1e0911e2e42e04b07bcfa76dec800a45984fd5d58
+SIZE (nmap-i18n-man-4.01.20060302/nmap-pl.1) = 144046
+MD5 (nmap-i18n-man-4.01.20060302/nmap-pt-br.1) = ca921a362aefd6434341cb05b547dff9
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-pt-br.1) = 8410910e8d12e518fb7679997aa693f96ddb7d7543d1ebb3e7ddab2b0261a2f0
+SIZE (nmap-i18n-man-4.01.20060302/nmap-pt-br.1) = 144665
+MD5 (nmap-i18n-man-4.01.20060302/nmap-pt-pt.1) = 386859eb9177c444ad73ace83f02ed1e
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-pt-pt.1) = 27c6b0f066e662f27599b350201fbad5e9b4bd98a2169c3d8035e9e2e1c639f3
+SIZE (nmap-i18n-man-4.01.20060302/nmap-pt-pt.1) = 146124
+MD5 (nmap-i18n-man-4.01.20060302/nmap-ro.1) = b53ad896823a99193c34fdf384e04e49
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-ro.1) = 1e092ddf21e8aae39c7611f751db9a53c0425e0ae3461e9407448ff400aed9c3
+SIZE (nmap-i18n-man-4.01.20060302/nmap-ro.1) = 135194
+MD5 (nmap-i18n-man-4.01.20060302/nmap-sk.1) = 78f8cd3d9d603bda21594371db1654ba
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-sk.1) = d44110172b18c9138b9d52aab9306cf55615f8d0309823655227f6c96434f578
+SIZE (nmap-i18n-man-4.01.20060302/nmap-sk.1) = 132399
+MD5 (nmap-i18n-man-4.01.20060302/nmap-zh.1) = 1159b67206a322c0fac1dcfedef524ce
+SHA256 (nmap-i18n-man-4.01.20060302/nmap-zh.1) = c7a9eeca0b8e0a2a6f5a7371b3e041346c30d134070f790650dc59f9db3e8245
+SIZE (nmap-i18n-man-4.01.20060302/nmap-zh.1) = 106901
diff --git a/security/nmap-i18n-man/pkg-descr b/security/nmap-i18n-man/pkg-descr
new file mode 100644
index 000000000000..041eedb1736a
--- /dev/null
+++ b/security/nmap-i18n-man/pkg-descr
@@ -0,0 +1,5 @@
+Translated manual pages for security/nmap. Current list of
+translations includes Spanish, French, Croatian, Japanese,
+Polish, Portuguese, Romanian, Slovak and Chinese.
+
+WWW: http://www.insecure.org/nmap/
diff --git a/security/nmap-i18n-man/pkg-plist b/security/nmap-i18n-man/pkg-plist
new file mode 100644
index 000000000000..91cf7c16a7b3
--- /dev/null
+++ b/security/nmap-i18n-man/pkg-plist
@@ -0,0 +1,20 @@
+@dirrmtry man/es.ISO8859-1/man1
+@dirrmtry man/es.ISO8859-1
+@dirrmtry man/fr.ISO8859-1/man1
+@dirrmtry man/fr.ISO8859-1
+@dirrmtry man/hr.ISO8859-2/man1
+@dirrmtry man/hr.ISO8859-2
+@dirrmtry man/jp.eucJP/man1
+@dirrmtry man/jp.eucJP
+@dirrmtry man/pl.ISO8859-2/man1
+@dirrmtry man/pl.ISO8859-2
+@dirrmtry man/pt_BR.ISO8859-1/man1
+@dirrmtry man/pt_BR.ISO8859-1
+@dirrmtry man/pt.ISO8859-1/man1
+@dirrmtry man/pt.ISO8859-1
+@dirrmtry man/ro.ISO8859-2/man1
+@dirrmtry man/ro.ISO8859-2
+@dirrmtry man/sk.ISO8859-2/man1
+@dirrmtry man/sk.ISO8859-2
+@dirrmtry man/zh.Big5/man1
+@dirrmtry man/zh.Big5