diff options
author | schmonz <schmonz@pkgsrc.org> | 2017-07-17 03:25:32 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2017-07-17 03:25:32 +0000 |
commit | 85e0a06830cccd7b2ed6e95de82be16887e459f4 (patch) | |
tree | 565967d35b2a774ebec778e07e1baaf49d5231ac | |
parent | c7caa5ccfffc48f7c7591d7093995a79adfab1e8 (diff) | |
download | pkgsrc-85e0a06830cccd7b2ed6e95de82be16887e459f4.tar.gz |
Initial import of libidn2, a library to convert internationalized domain
names to and from ASCII Compatible Encoding (ACE), following the
IDNA2008 and TR46 standards. The library is a rewrite of the popular but
legacy libidn library, and is backwards (API) compatible with it.
-rw-r--r-- | devel/libidn2/DESCR | 7 | ||||
-rw-r--r-- | devel/libidn2/Makefile | 23 | ||||
-rw-r--r-- | devel/libidn2/PLIST | 39 | ||||
-rw-r--r-- | devel/libidn2/buildlink3.mk | 12 | ||||
-rw-r--r-- | devel/libidn2/distinfo | 6 |
5 files changed, 87 insertions, 0 deletions
diff --git a/devel/libidn2/DESCR b/devel/libidn2/DESCR new file mode 100644 index 00000000000..953f2625b23 --- /dev/null +++ b/devel/libidn2/DESCR @@ -0,0 +1,7 @@ +Libidn2 is a free software implementation of IDNA2008, Punycode and TR46 +in the form of a library. It contains functionality to convert +internationalized domain names to and from ASCII Compatible Encoding +(ACE), following the IDNA2008 and TR46 standards. + +The library is a rewrite of the popular but legacy libidn library, and +is backwards (API) compatible with it. diff --git a/devel/libidn2/Makefile b/devel/libidn2/Makefile new file mode 100644 index 00000000000..428c5d736dc --- /dev/null +++ b/devel/libidn2/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2017/07/17 03:25:32 schmonz Exp $ + +DISTNAME= libidn2-2.0.0 +CATEGORIES= devel +MASTER_SITES= https://alpha.gnu.org/gnu/libidn/ +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.gnu.org/software/libidn/ +COMMENT= Convert internationalized domain names to/from ASCII Encoding +LICENSE= gnu-gpl-v2 + +GNU_CONFIGURE= yes +INFO_FILES= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +PKGCONFIG_OVERRIDE+= libidn2.pc.in + +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../textproc/libunistring/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libidn2/PLIST b/devel/libidn2/PLIST new file mode 100644 index 00000000000..c9494711a30 --- /dev/null +++ b/devel/libidn2/PLIST @@ -0,0 +1,39 @@ +@comment $NetBSD: PLIST,v 1.1 2017/07/17 03:25:32 schmonz Exp $ +bin/idn2 +bin/idn2_noinstall +include/idn2.h +info/libidn2.info +lib/libidn2.la +lib/pkgconfig/libidn2.pc +man/man1/idn2.1 +man/man3/idn2_check_version.3 +man/man3/idn2_free.3 +man/man3/idn2_lookup_u8.3 +man/man3/idn2_lookup_ul.3 +man/man3/idn2_register_u8.3 +man/man3/idn2_register_ul.3 +man/man3/idn2_strerror.3 +man/man3/idn2_strerror_name.3 +man/man3/idn2_to_ascii_4i.3 +man/man3/idn2_to_ascii_4z.3 +man/man3/idn2_to_ascii_8z.3 +man/man3/idn2_to_ascii_lz.3 +man/man3/idn2_to_unicode_44i.3 +man/man3/idn2_to_unicode_4z4z.3 +man/man3/idn2_to_unicode_8z4z.3 +man/man3/idn2_to_unicode_8z8z.3 +man/man3/idn2_to_unicode_8zlz.3 +man/man3/idn2_to_unicode_lzlz.3 +share/gtk-doc/html/libidn2/api-index-full.html +share/gtk-doc/html/libidn2/home.png +share/gtk-doc/html/libidn2/index.html +share/gtk-doc/html/libidn2/left-insensitive.png +share/gtk-doc/html/libidn2/left.png +share/gtk-doc/html/libidn2/libidn2-idn2.html +share/gtk-doc/html/libidn2/libidn2.devhelp2 +share/gtk-doc/html/libidn2/libidn2.html +share/gtk-doc/html/libidn2/right-insensitive.png +share/gtk-doc/html/libidn2/right.png +share/gtk-doc/html/libidn2/style.css +share/gtk-doc/html/libidn2/up-insensitive.png +share/gtk-doc/html/libidn2/up.png diff --git a/devel/libidn2/buildlink3.mk b/devel/libidn2/buildlink3.mk new file mode 100644 index 00000000000..edb83218ae3 --- /dev/null +++ b/devel/libidn2/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2017/07/17 03:25:32 schmonz Exp $ + +BUILDLINK_TREE+= libidn2 + +.if !defined(LIBIDN2_BUILDLINK3_MK) +LIBIDN2_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libidn2+= libidn2>=2.0.0 +BUILDLINK_PKGSRCDIR.libidn2?= ../../devel/libidn2 +.endif # LIBIDN2_BUILDLINK3_MK + +BUILDLINK_TREE+= -libidn2 diff --git a/devel/libidn2/distinfo b/devel/libidn2/distinfo new file mode 100644 index 00000000000..7c5dc44dd4b --- /dev/null +++ b/devel/libidn2/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/07/17 03:25:32 schmonz Exp $ + +SHA1 (libidn2-2.0.0.tar.xz) = b276cf927598aa3a226cc3ee503d1668d4a56eb3 +RMD160 (libidn2-2.0.0.tar.xz) = 7c004341c6d98ce19d151a6e6218b663f0410e2e +SHA512 (libidn2-2.0.0.tar.xz) = 0cc199f05526edebb385cd7ca3bafca341e31cc76ef0efe7e63a07ff1d2830d9d33004dfc51aa245b42fdf0de7eeb807fd18255f58cc2b086e1155beaa738502 +Size (libidn2-2.0.0.tar.xz) = 1257908 bytes |