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
This commit is contained in:
Chris Rees 2011-11-16 17:48:53 +00:00
parent 7194eb4a87
commit 2f164dbbf7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285923
5 changed files with 83 additions and 0 deletions

View file

@ -56,6 +56,7 @@
SUBDIR += h2n
SUBDIR += hesiod
SUBDIR += idnkit
SUBDIR += idnkit2
SUBDIR += inadyn
SUBDIR += ipcheck
SUBDIR += ldapdns

38
dns/idnkit2/Makefile Normal file
View file

@ -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>

2
dns/idnkit2/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (idnkit-2.1.tar.bz2) = 45510a556e7543955f917249527e455297baa2277d2776b5d6a66daf1bd06474
SIZE (idnkit-2.1.tar.bz2) = 1424595

13
dns/idnkit2/pkg-descr Normal file
View file

@ -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

29
dns/idnkit2/pkg-plist Normal file
View file

@ -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