aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-02 20:24:41 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-02 20:24:41 +0800
commit2ea953c7e18b5c63d2508441edd81530c43ebc36 (patch)
tree76b104b92a25b0c5c60e7aa426fec1c00b97478c
parent17af89d2bc4ec98a65298d6422dc266e2fbb6e99 (diff)
downloadfreebsd-ports-graphics-2ea953c7e18b5c63d2508441edd81530c43ebc36.tar.gz
freebsd-ports-graphics-2ea953c7e18b5c63d2508441edd81530c43ebc36.tar.zst
freebsd-ports-graphics-2ea953c7e18b5c63d2508441edd81530c43ebc36.zip
Add libidn 0.2.0, internationalized Domain Names command line tool.
PR: 53519 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libidn/Makefile44
-rw-r--r--devel/libidn/distinfo1
-rw-r--r--devel/libidn/files/patch-Makefile.in10
-rw-r--r--devel/libidn/pkg-descr14
-rw-r--r--devel/libidn/pkg-plist30
-rw-r--r--dns/libidn/Makefile44
-rw-r--r--dns/libidn/distinfo1
-rw-r--r--dns/libidn/files/patch-Makefile.in10
-rw-r--r--dns/libidn/pkg-descr14
-rw-r--r--dns/libidn/pkg-plist30
11 files changed, 199 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 31a0f747964..6d25b5210d3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -333,6 +333,7 @@
SUBDIR += libhash
SUBDIR += libhoard
SUBDIR += libical
+ SUBDIR += libidn
SUBDIR += libltdl
SUBDIR += libmba
SUBDIR += libmcve
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%%
diff --git a/dns/libidn/Makefile b/dns/libidn/Makefile
new file mode 100644
index 00000000000..2fafeca7e13
--- /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 00000000000..9ac980565d0
--- /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 00000000000..03a99881bec
--- /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 00000000000..f098244d831
--- /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 00000000000..54c28d3a008
--- /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%%