aboutsummaryrefslogtreecommitdiffstats
path: root/net/idnkit
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-03-23 14:25:10 +0800
committerknu <knu@FreeBSD.org>2003-03-23 14:25:10 +0800
commit45b027628074b31cf3cfddb7fa8f5a4e5a8fe786 (patch)
tree8501977d79c46866ff1ffbf19eb4bd9d3f99a084 /net/idnkit
parentb4d418532a9102a99e765f827f2dcd58d6c1f848 (diff)
downloadfreebsd-ports-gnome-45b027628074b31cf3cfddb7fa8f5a4e5a8fe786.tar.gz
freebsd-ports-gnome-45b027628074b31cf3cfddb7fa8f5a4e5a8fe786.tar.zst
freebsd-ports-gnome-45b027628074b31cf3cfddb7fa8f5a4e5a8fe786.zip
Add idnkit-1.0, a library to handle internationalized domain names.
Diffstat (limited to 'net/idnkit')
-rw-r--r--net/idnkit/Makefile49
-rw-r--r--net/idnkit/distinfo1
-rw-r--r--net/idnkit/pkg-descr17
-rw-r--r--net/idnkit/pkg-plist51
4 files changed, 118 insertions, 0 deletions
diff --git a/net/idnkit/Makefile b/net/idnkit/Makefile
new file mode 100644
index 000000000000..ab3478ef09f6
--- /dev/null
+++ b/net/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/net/idnkit/distinfo b/net/idnkit/distinfo
new file mode 100644
index 000000000000..54275b79546b
--- /dev/null
+++ b/net/idnkit/distinfo
@@ -0,0 +1 @@
+MD5 (idnkit-1.0-src.tar.gz) = e8863c21c5049af358bd59c384ff3e5d
diff --git a/net/idnkit/pkg-descr b/net/idnkit/pkg-descr
new file mode 100644
index 000000000000..00422ab5f368
--- /dev/null
+++ b/net/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/net/idnkit/pkg-plist b/net/idnkit/pkg-plist
new file mode 100644
index 000000000000..323e5698aab9
--- /dev/null
+++ b/net/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