Add idnkit-1.0, a library to handle internationalized domain names.
This commit is contained in:
parent
568e374b2a
commit
18ed949e18
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77205
9 changed files with 237 additions and 0 deletions
49
dns/idnkit/Makefile
Normal file
49
dns/idnkit/Makefile
Normal file
|
@ -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>
|
1
dns/idnkit/distinfo
Normal file
1
dns/idnkit/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (idnkit-1.0-src.tar.gz) = e8863c21c5049af358bd59c384ff3e5d
|
17
dns/idnkit/pkg-descr
Normal file
17
dns/idnkit/pkg-descr
Normal file
|
@ -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/
|
51
dns/idnkit/pkg-plist
Normal file
51
dns/idnkit/pkg-plist
Normal file
|
@ -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
|
|
@ -213,6 +213,7 @@
|
|||
SUBDIR += icqlib0
|
||||
SUBDIR += icqnix
|
||||
SUBDIR += icukrell
|
||||
SUBDIR += idnkit
|
||||
SUBDIR += imcom
|
||||
SUBDIR += ip6_int
|
||||
SUBDIR += ipcad
|
||||
|
|
49
net/idnkit/Makefile
Normal file
49
net/idnkit/Makefile
Normal file
|
@ -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>
|
1
net/idnkit/distinfo
Normal file
1
net/idnkit/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (idnkit-1.0-src.tar.gz) = e8863c21c5049af358bd59c384ff3e5d
|
17
net/idnkit/pkg-descr
Normal file
17
net/idnkit/pkg-descr
Normal file
|
@ -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/
|
51
net/idnkit/pkg-plist
Normal file
51
net/idnkit/pkg-plist
Normal file
|
@ -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
|
Loading…
Reference in a new issue