aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2011-11-17 01:48:53 +0800
committercrees <crees@FreeBSD.org>2011-11-17 01:48:53 +0800
commit3af6fdbc22b73d698cff10bb3b1e8c793b3901df (patch)
treeca7bc050e67d2d97e50695ca25c6ccf1d54918ae /dns
parent747ec63030315896806fcab56eaf65ae2f70f718 (diff)
downloadfreebsd-ports-gnome-3af6fdbc22b73d698cff10bb3b1e8c793b3901df.tar.gz
freebsd-ports-gnome-3af6fdbc22b73d698cff10bb3b1e8c793b3901df.tar.zst
freebsd-ports-gnome-3af6fdbc22b73d698cff10bb3b1e8c793b3901df.zip
Internationalized Domain Name toolkit 2 (idnkit-2) provides useful
APIs (libraries) for application developers to make softwares IDNA2008-compliant, and also provides tools for system administrators to process IDNs appropriately according to IDNA2008 specification. The idnkit-2 is a toolkit revised by JPRS from the idnkit-1.0 developed by JPNIC, and it is released as an open source free software modified to comply with IDNA2008. idnkit-2 consists from its main part written in C and additional API packages for other languages (Java, Python, and Perl). WWW: http://jprs.co.jp/idn/index-e.html PR: ports/162520 Submitted by: Rafal Lesniak <fbsd@grid.einherjar.de> Feature safe: yes
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/idnkit2/Makefile38
-rw-r--r--dns/idnkit2/distinfo2
-rw-r--r--dns/idnkit2/pkg-descr13
-rw-r--r--dns/idnkit2/pkg-plist29
5 files changed, 83 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index ec483cbb1215..4462dcdd7721 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -56,6 +56,7 @@
SUBDIR += h2n
SUBDIR += hesiod
SUBDIR += idnkit
+ SUBDIR += idnkit2
SUBDIR += inadyn
SUBDIR += ipcheck
SUBDIR += ldapdns
diff --git a/dns/idnkit2/Makefile b/dns/idnkit2/Makefile
new file mode 100644
index 000000000000..e1be3af779f5
--- /dev/null
+++ b/dns/idnkit2/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: idnkit
+# Date created: 13 November 2011
+# Whom: Rafal Lesniak <fbsd@grid.einherjar.de>
+#
+# $FreeBSD$
+
+PORTNAME= idnkit
+PORTVERSION= 2.1
+CATEGORIES= dns
+MASTER_SITES= http://jprs.co.jp/idn/
+
+MAINTAINER= fbsd@grid.einherjar.de
+COMMENT= Internationalized Domain Name toolkit 2
+
+LICENSE_PERMS= # permissive
+LICENSE_NAME= OSCL
+LICENSE_FILE= LICENSE.txt
+
+CONFLICTS_INSTALL= idnkit-1.*
+
+USE_AUTOTOOLS= libtool
+USE_ICONV= yes
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-libiconv=${LOCALBASE}
+
+USE_LDCONFIG= yes
+
+MAN1= idncheck.1 idncmp.1 idnconv2.1
+MAN3= idn_checkname.3 idn_comparenames.3 idn_comparenames2.3 \
+ idn_decodename.3 idn_decodename2.3 idn_encodename.3 idn_nameinit.3 \
+ idn_result_tostring.3 idn_setlanguage.3 idn_setlocalcheckfile.3 \
+ idn_setlocalencoding.3 idn_version_getstring.3 idn_version_idnatable.3 \
+ idn_version_libidn.3 idn_version_unicode.3 libidnkit.3 libidnkitlite.3
+MAN5= idn2.conf.5 idn2rc.5 idnalias.conf.5 idnlang.conf.5
+MANCOMPRESSED= no
+
+.include <bsd.port.mk>
diff --git a/dns/idnkit2/distinfo b/dns/idnkit2/distinfo
new file mode 100644
index 000000000000..39a50f78b976
--- /dev/null
+++ b/dns/idnkit2/distinfo
@@ -0,0 +1,2 @@
+SHA256 (idnkit-2.1.tar.bz2) = 45510a556e7543955f917249527e455297baa2277d2776b5d6a66daf1bd06474
+SIZE (idnkit-2.1.tar.bz2) = 1424595
diff --git a/dns/idnkit2/pkg-descr b/dns/idnkit2/pkg-descr
new file mode 100644
index 000000000000..8e56b01f9f89
--- /dev/null
+++ b/dns/idnkit2/pkg-descr
@@ -0,0 +1,13 @@
+
+Internationalized Domain Name toolkit 2 (idnkit-2) provides useful
+APIs (libraries) for application developers to make softwares
+IDNA2008-compliant, and also provides tools for system administrators
+to process IDNs appropriately according to IDNA2008 specification.
+The idnkit-2 is a toolkit revised by JPRS from the idnkit-1.0
+developed by JPNIC, and it is released as an open source
+free software modified to comply with IDNA2008.
+
+idnkit-2 consists from its main part written in C and additional
+API packages for other languages (Java, Python, and Perl).
+
+WWW: http://jprs.co.jp/idn/index-e.html
diff --git a/dns/idnkit2/pkg-plist b/dns/idnkit2/pkg-plist
new file mode 100644
index 000000000000..37029fb2f066
--- /dev/null
+++ b/dns/idnkit2/pkg-plist
@@ -0,0 +1,29 @@
+bin/idncheck
+bin/idncmp
+bin/idnconv2
+bin/idnslookup2
+@unexec cmp -s %D/etc/idn2.conf.sample %D/etc/idn2.conf && rm -f %D/etc/idn2.conf || true
+etc/idn2.conf.sample
+@exec [ -f %B/idn2.conf ] || cp -p %D/%F %B/idn2.conf
+@unexec cmp -s %D/etc/idnalias.conf.sample %D/etc/idnalias.conf && rm -f %D/etc/idnalias.conf || true
+etc/idnalias.conf.sample
+@exec [ -f %B/idnalias.conf ] || cp -p %D/%F %B/idnalias.conf
+include/idn/api.h
+include/idn/export.h
+include/idn/res.h
+include/idn/resconf.h
+include/idn/result.h
+include/idn/version.h
+lib/libidnkit.a
+lib/libidnkit.la
+lib/libidnkit.so
+lib/libidnkit.so.2
+lib/libidnkitlite.a
+lib/libidnkitlite.la
+lib/libidnkitlite.so
+lib/libidnkitlite.so.2
+%%DATADIR%%/map/ja.map
+%%DATADIR%%/map/tr.map
+@dirrm %%DATADIR%%/map
+@dirrm %%DATADIR%%
+@dirrm include/idn