summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-03-23 06:25:10 +0000
committerknu <knu@FreeBSD.org>2003-03-23 06:25:10 +0000
commit45b027628074b31cf3cfddb7fa8f5a4e5a8fe786 (patch)
tree8501977d79c46866ff1ffbf19eb4bd9d3f99a084 /net
parentb4d418532a9102a99e765f827f2dcd58d6c1f848 (diff)
downloadFreeBSD-ports-45b027628074b31cf3cfddb7fa8f5a4e5a8fe786.zip
FreeBSD-ports-45b027628074b31cf3cfddb7fa8f5a4e5a8fe786.tar.gz
Add idnkit-1.0, a library to handle internationalized domain names.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-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
5 files changed, 119 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index d989795..96b175e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -213,6 +213,7 @@
SUBDIR += icqlib0
SUBDIR += icqnix
SUBDIR += icukrell
+ SUBDIR += idnkit
SUBDIR += imcom
SUBDIR += ip6_int
SUBDIR += ipcad
diff --git a/net/idnkit/Makefile b/net/idnkit/Makefile
new file mode 100644
index 0000000..ab3478e
--- /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 0000000..54275b7
--- /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 0000000..00422ab
--- /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 0000000..323e569
--- /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
OpenPOWER on IntegriCloud