diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-03-23 06:25:10 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-03-23 06:25:10 +0000 |
commit | 18ed949e180d8efc56e8c47778e558b30a40a5ab (patch) | |
tree | daed8104656ec72dbb790f9d0b1329082a127a00 /dns/idnkit | |
parent | New MASTER_SITE and WWW reference. (diff) |
Add idnkit-1.0, a library to handle internationalized domain names.
Notes
Notes:
svn path=/head/; revision=77205
Diffstat (limited to 'dns/idnkit')
-rw-r--r-- | dns/idnkit/Makefile | 49 | ||||
-rw-r--r-- | dns/idnkit/distinfo | 1 | ||||
-rw-r--r-- | dns/idnkit/pkg-descr | 17 | ||||
-rw-r--r-- | dns/idnkit/pkg-plist | 51 |
4 files changed, 118 insertions, 0 deletions
diff --git a/dns/idnkit/Makefile b/dns/idnkit/Makefile new file mode 100644 index 000000000000..ab3478ef09f6 --- /dev/null +++ b/dns/idnkit/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: idnkit +# Date created: 19 March 2003 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= idnkit +PORTVERSION= 1.0 +CATEGORIES= net +MASTER_SITES= http://www.nic.ad.jp/ja/idn/idnkit/download/sources/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= knu@FreeBSD.org +COMMENT= A library to handle internationalized domain names + +LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-libiconv=${LOCALBASE} \ + --enable-runidn + +INSTALLS_SHLIB= yes + +MAN1= idnconv.1 \ + runidn.1 +MAN3= libidnkit.3 \ + libidnkitlite.3 +MAN5= idn.conf.5 \ + idnalias.conf.5 \ + idnrc.5 +MANCOMPRESSED= no + +DOCS_EN= ChangeLog NEWS README +DOCS_JA= README.ja + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ja/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/dns/idnkit/distinfo b/dns/idnkit/distinfo new file mode 100644 index 000000000000..54275b79546b --- /dev/null +++ b/dns/idnkit/distinfo @@ -0,0 +1 @@ +MD5 (idnkit-1.0-src.tar.gz) = e8863c21c5049af358bd59c384ff3e5d diff --git a/dns/idnkit/pkg-descr b/dns/idnkit/pkg-descr new file mode 100644 index 000000000000..00422ab5f368 --- /dev/null +++ b/dns/idnkit/pkg-descr @@ -0,0 +1,17 @@ +The 'idnkit' is an open source, BSD-like licensed software that +provides functionalities about Internationalized Domain Name +processing standardized at IETF. Major features that idnkit provides +are as follows. + + * libidnkit + Core library for IDN processing. + * libidnkitlite + Light Weight library for IDN processing. (UTF-8 only) + * idnconv + DNS zone / configuration file encoding converter. + * runidn / idn wrapper + Dynamic link resolver library for UNIX / Windows. + * BIND 9 patch + IDN enhancements for BIND 9 DNS lookup tools. + +WWW: http://www.nic.ad.jp/ja/idn/idnkit/download/ diff --git a/dns/idnkit/pkg-plist b/dns/idnkit/pkg-plist new file mode 100644 index 000000000000..323e5698aab9 --- /dev/null +++ b/dns/idnkit/pkg-plist @@ -0,0 +1,51 @@ +bin/idnconv +bin/runidn +@unexec if cmp -s %D/etc/idn.conf %D/etc/idn.conf.sample; then rm -f %D/etc/idn.conf; fi +etc/idn.conf.sample +@exec [ ! -f %B/idn.conf ] && cp %B/%f %B/idn.conf +@unexec if cmp -s %D/etc/idnalias.conf %D/etc/idnalias.conf.sample; then rm -f %D/etc/idnalias.conf; fi +etc/idnalias.conf.sample +@exec [ ! -f %B/idnalias.conf ] && cp %B/%f %B/idnalias.conf +include/idn/api.h +include/idn/assert.h +include/idn/checker.h +include/idn/converter.h +include/idn/debug.h +include/idn/delimitermap.h +include/idn/export.h +include/idn/filechecker.h +include/idn/filemapper.h +include/idn/localencoding.h +include/idn/log.h +include/idn/logmacro.h +include/idn/mapper.h +include/idn/mapselector.h +include/idn/nameprep.h +include/idn/normalizer.h +include/idn/punycode.h +include/idn/race.h +include/idn/res.h +include/idn/resconf.h +include/idn/result.h +include/idn/strhash.h +include/idn/ucs4.h +include/idn/ucsmap.h +include/idn/ucsset.h +include/idn/unicode.h +include/idn/unormalize.h +include/idn/utf8.h +include/idn/util.h +include/idn/version.h +@dirrm include/idn +lib/libidnkit.a +lib/libidnkit.so.1 +lib/libidnkitlite.a +lib/libidnkitlite.so.1 +lib/libidnkitres.a +lib/libidnkitres.so.1 +share/idnkit/jp.map +@dirrm share/idnkit +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/ja/README.ja |