mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
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/162521 Submitted by: Rafal Lesniak <fbsd@grid.einherjar.de> Feature safe: yes
This commit is contained in:
parent
8ab9ea3e41
commit
87ce265324
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286367
@ -127,6 +127,7 @@
|
||||
SUBDIR += py-adns
|
||||
SUBDIR += py-dns
|
||||
SUBDIR += py-dnspython
|
||||
SUBDIR += py-idnkit2
|
||||
SUBDIR += py-namebench
|
||||
SUBDIR += py-twistedNames
|
||||
SUBDIR += radns
|
||||
|
28
dns/py-idnkit2/Makefile
Normal file
28
dns/py-idnkit2/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# New ports collection makefile for: idnkit
|
||||
# Date created: 13 November 2011
|
||||
# Whom: Rafal Lesniak <fbsd@grid.einherjar.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= idnkit-python
|
||||
PORTVERSION= 2.1
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://jprs.co.jp/idn/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= fbsd@grid.einherjar.de
|
||||
COMMENT= Python bindings for Internationalized Domain Name toolkit 2.
|
||||
|
||||
LIB_DEPENDS= idnkitlite.2:${PORTSDIR}/dns/idnkit2
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
PLIST_FILES= %%PYTHON_SITELIBDIR%%/idnkit.so
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
2
dns/py-idnkit2/distinfo
Normal file
2
dns/py-idnkit2/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (idnkit-python-2.1.tar.bz2) = c53bbf220baaeb7e7a94a249a04b65f9a850858651f91b2515c8cfb2b72a5aed
|
||||
SIZE (idnkit-python-2.1.tar.bz2) = 31129
|
15
dns/py-idnkit2/files/patch-setup.py
Normal file
15
dns/py-idnkit2/files/patch-setup.py
Normal file
@ -0,0 +1,15 @@
|
||||
--- setup.py.orgi 2011-11-24 22:05:06.191148712 +0000
|
||||
+++ setup.py 2011-11-24 22:05:37.913149693 +0000
|
||||
@@ -4,10 +4,10 @@
|
||||
import glob
|
||||
|
||||
# Directory where idnkit header files are installed.
|
||||
-idnkit_include_dir = '/usr/local/include'
|
||||
+idnkit_include_dir = '%%LOCALBASE%%/include'
|
||||
|
||||
# Directory where libidnkitlite resides.
|
||||
-idnkit_library_dir = '/usr/local/lib'
|
||||
+idnkit_library_dir = '%%LOCALBASE%%/lib'
|
||||
|
||||
setup(name='idnkit-python',
|
||||
version='2.1',
|
13
dns/py-idnkit2/pkg-descr
Normal file
13
dns/py-idnkit2/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user