diff options
Diffstat (limited to 'devel/libidn')
-rw-r--r-- | devel/libidn/Makefile | 44 | ||||
-rw-r--r-- | devel/libidn/distinfo | 1 | ||||
-rw-r--r-- | devel/libidn/files/patch-Makefile.in | 10 | ||||
-rw-r--r-- | devel/libidn/pkg-descr | 14 | ||||
-rw-r--r-- | devel/libidn/pkg-plist | 30 |
5 files changed, 99 insertions, 0 deletions
diff --git a/devel/libidn/Makefile b/devel/libidn/Makefile new file mode 100644 index 00000000000..2fafeca7e13 --- /dev/null +++ b/devel/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/devel/libidn/distinfo b/devel/libidn/distinfo new file mode 100644 index 00000000000..9ac980565d0 --- /dev/null +++ b/devel/libidn/distinfo @@ -0,0 +1 @@ +MD5 (libidn-0.2.0.tar.gz) = e4fb4933ba1ba032972b56301fc52fee diff --git a/devel/libidn/files/patch-Makefile.in b/devel/libidn/files/patch-Makefile.in new file mode 100644 index 00000000000..03a99881bec --- /dev/null +++ b/devel/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/devel/libidn/pkg-descr b/devel/libidn/pkg-descr new file mode 100644 index 00000000000..f098244d831 --- /dev/null +++ b/devel/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/devel/libidn/pkg-plist b/devel/libidn/pkg-plist new file mode 100644 index 00000000000..54c28d3a008 --- /dev/null +++ b/devel/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%% |