diff options
author | daichi <daichi@FreeBSD.org> | 2003-07-02 20:24:41 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-07-02 20:24:41 +0800 |
commit | 2ea953c7e18b5c63d2508441edd81530c43ebc36 (patch) | |
tree | 76b104b92a25b0c5c60e7aa426fec1c00b97478c /dns | |
parent | 17af89d2bc4ec98a65298d6422dc266e2fbb6e99 (diff) | |
download | freebsd-ports-gnome-2ea953c7e18b5c63d2508441edd81530c43ebc36.tar.gz freebsd-ports-gnome-2ea953c7e18b5c63d2508441edd81530c43ebc36.tar.zst freebsd-ports-gnome-2ea953c7e18b5c63d2508441edd81530c43ebc36.zip |
Add libidn 0.2.0, internationalized Domain Names command line tool.
PR: 53519
Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Diffstat (limited to 'dns')
-rw-r--r-- | dns/libidn/Makefile | 44 | ||||
-rw-r--r-- | dns/libidn/distinfo | 1 | ||||
-rw-r--r-- | dns/libidn/files/patch-Makefile.in | 10 | ||||
-rw-r--r-- | dns/libidn/pkg-descr | 14 | ||||
-rw-r--r-- | dns/libidn/pkg-plist | 30 |
5 files changed, 99 insertions, 0 deletions
diff --git a/dns/libidn/Makefile b/dns/libidn/Makefile new file mode 100644 index 000000000000..2fafeca7e13e --- /dev/null +++ b/dns/libidn/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: libidn +# Date created: 19.06.2003 +# Whom: Kirill Ponomarew <ponomarew@oberon.net> +# +# $FreeBSD$ +# + +PORTNAME= libidn +PORTVERSION= 0.2.0 +CATEGORIES= devel +MASTER_SITES= ftp://alpha.gnu.org/pub/gnu/${PORTNAME}/ \ + ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/${PORTNAME}/ + +MAINTAINER= ponomarew@oberon.net +COMMENT= Internationalized Domain Names command line tool + +LIB_DEPENDS= iconv:${PORTSDIR}/converters/libiconv + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +USE_GETOPT_LONG= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +.if exists(${LOCALBASE}/bin/emacs) +PLIST_SUB+= EMACS="" EMACSDIR=share/emacs +.elif exists(${LOCALBASE}/bin/xemacs) +PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs +.else +PLIST_SUB+= EMACS="@comment " EMACSDIR="" +.endif + +MAN1= idn.1 + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README FAQ + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/dns/libidn/distinfo b/dns/libidn/distinfo new file mode 100644 index 000000000000..9ac980565d08 --- /dev/null +++ b/dns/libidn/distinfo @@ -0,0 +1 @@ +MD5 (libidn-0.2.0.tar.gz) = e4fb4933ba1ba032972b56301fc52fee diff --git a/dns/libidn/files/patch-Makefile.in b/dns/libidn/files/patch-Makefile.in new file mode 100644 index 000000000000..03a99881bec4 --- /dev/null +++ b/dns/libidn/files/patch-Makefile.in @@ -0,0 +1,10 @@ +--- Makefile.in.orig Fri Jun 20 01:04:43 2003 ++++ Makefile.in Fri Jun 20 01:04:53 2003 +@@ -1116,7 +1116,6 @@ + idn.c: idn_cmd.c idn_cmd.h + + idn_cmd.c idn_cmd.h: idn.ggo +- -gengetopt --input $^ --file-name idn_cmd + elc-stamp: + + # Maintainer targets diff --git a/dns/libidn/pkg-descr b/dns/libidn/pkg-descr new file mode 100644 index 000000000000..f098244d8314 --- /dev/null +++ b/dns/libidn/pkg-descr @@ -0,0 +1,14 @@ +GNU Libidn is an implementation of the Stringprep, Punycode, +and IDNA specifications defined by the IETF Internationalized +Domain Names (IDN) working group. It is used to prepare +internationalized strings (such as domain name labels, +usernames, and passwords) in order to increase the likelihood +that string input and string comparison work in ways that make +sense for typical users throughout the world. The library +contains a generic Stringprep implementation that does Unicode +3.2 NFKC normalization, mapping and prohibition of characters, +and bidirectional character handling. Profiles for iSCSI, +Kerberos 5, Nameprep, SASL, and XMPP are included. Punycode and +ASCII Compatible Encoding (ACE) via IDNA are supported. + +WWW: http://www.gnu.org/software/libidn diff --git a/dns/libidn/pkg-plist b/dns/libidn/pkg-plist new file mode 100644 index 000000000000..54c28d3a0083 --- /dev/null +++ b/dns/libidn/pkg-plist @@ -0,0 +1,30 @@ +bin/idn +include/idn-int.h +include/idna.h +include/punycode.h +include/stringprep.h +include/stringprep_generic.h +include/stringprep_iscsi.h +include/stringprep_kerberos5.h +include/stringprep_nameprep.h +include/stringprep_plain.h +include/stringprep_xmpp.h +@unexec install-info --delete %D/info/libidn.info %D/info/dir +info/libidn.info +info/libidn.info-1 +info/libidn.info-2 +info/libidn.info-3 +@exec install-info %D/info/libidn.info %D/info/dir +lib/libidn.a +lib/libidn.la +lib/libidn.so +lib/libidn.so.10 +lib/pkgconfig/libidn.pc +%%EMACS%%%%EMACSDIR%%/site-lisp/idna.el +%%EMACS%%%%EMACSDIR%%/site-lisp/punycode.el +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/FAQ +@unexec rmdir %D/lib/pkgconfig 2>/dev/null || true +%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp +%%EMACS%%@dirrm %%EMACSDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |