ports/53519: New port: devel/libidn

Kirill Ponomarew ponomarew at oberon.net
Thu Jun 19 23:30:10 UTC 2003


>Number:         53519
>Category:       ports
>Synopsis:       New port: devel/libidn
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 19 16:30:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
New port: devel/libidn

Internationalized Domain Names command line tool

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/libidn
#	devel/libidn/Makefile
#	devel/libidn/distinfo
#	devel/libidn/pkg-descr
#	devel/libidn/files
#	devel/libidn/files/patch-Makefile.in
#	devel/libidn/pkg-plist
#
echo c - devel/libidn
mkdir -p devel/libidn > /dev/null 2>&1
echo x - devel/libidn/Makefile
sed 's/^X//' >devel/libidn/Makefile << 'END-of-devel/libidn/Makefile'
X# New ports collection makefile for:  		libidn
X# Date created:        				19.06.2003
X# Whom:               				Kirill Ponomarew <ponomarew at oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libidn
XPORTVERSION=	0.2.0
XCATEGORIES=	devel
XMASTER_SITES=	ftp://alpha.gnu.org/pub/gnu/${PORTNAME}/ \
X		ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/${PORTNAME}/
X
XMAINTAINER=	ponomarew at oberon.net
XCOMMENT=	Internationalized Domain Names command line tool
X
XLIB_DEPENDS=	iconv:${PORTSDIR}/converters/libiconv
X
XUSE_LIBTOOL=	yes
XGNU_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
XUSE_GETOPT_LONG=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LIBS="-L${LOCALBASE}/lib"
X
X.if exists(${LOCALBASE}/bin/emacs)
XPLIST_SUB+=	EMACS="" EMACSDIR=share/emacs
X.elif exists(${LOCALBASE}/bin/xemacs)
XPLIST_SUB+=	EMACS="" EMACSDIR=lib/xemacs
X.else
XPLIST_SUB+=	EMACS="@comment " EMACSDIR=""
X.endif
X
XMAN1=	idn.1
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for i in README FAQ
X	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-devel/libidn/Makefile
echo x - devel/libidn/distinfo
sed 's/^X//' >devel/libidn/distinfo << 'END-of-devel/libidn/distinfo'
XMD5 (libidn-0.2.0.tar.gz) = e4fb4933ba1ba032972b56301fc52fee
END-of-devel/libidn/distinfo
echo x - devel/libidn/pkg-descr
sed 's/^X//' >devel/libidn/pkg-descr << 'END-of-devel/libidn/pkg-descr'
XGNU Libidn is an implementation of the Stringprep, Punycode,
Xand IDNA specifications defined by the IETF Internationalized
XDomain Names (IDN) working group. It is used to prepare
Xinternationalized strings (such as domain name labels,
Xusernames, and passwords) in order to increase the likelihood
Xthat string input and string comparison work in ways that make
Xsense for typical users throughout the world. The library
Xcontains a generic Stringprep implementation that does Unicode
X3.2 NFKC normalization, mapping and prohibition of characters,
Xand bidirectional character handling. Profiles for iSCSI,
XKerberos 5, Nameprep, SASL, and XMPP are included. Punycode and
XASCII Compatible Encoding (ACE) via IDNA are supported.
X
XWWW: http://www.gnu.org/software/libidn
END-of-devel/libidn/pkg-descr
echo c - devel/libidn/files
mkdir -p devel/libidn/files > /dev/null 2>&1
echo x - devel/libidn/files/patch-Makefile.in
sed 's/^X//' >devel/libidn/files/patch-Makefile.in << 'END-of-devel/libidn/files/patch-Makefile.in'
X--- Makefile.in.orig	Fri Jun 20 01:04:43 2003
X+++ Makefile.in	Fri Jun 20 01:04:53 2003
X@@ -1116,7 +1116,6 @@
X idn.c: idn_cmd.c idn_cmd.h
X 
X idn_cmd.c idn_cmd.h: idn.ggo
X-	-gengetopt --input $^ --file-name idn_cmd
X elc-stamp:
X 
X # Maintainer targets
END-of-devel/libidn/files/patch-Makefile.in
echo x - devel/libidn/pkg-plist
sed 's/^X//' >devel/libidn/pkg-plist << 'END-of-devel/libidn/pkg-plist'
Xbin/idn
Xinclude/idn-int.h
Xinclude/idna.h
Xinclude/punycode.h
Xinclude/stringprep.h
Xinclude/stringprep_generic.h
Xinclude/stringprep_iscsi.h
Xinclude/stringprep_kerberos5.h
Xinclude/stringprep_nameprep.h
Xinclude/stringprep_plain.h
Xinclude/stringprep_xmpp.h
X at unexec install-info --delete %D/info/libidn.info %D/info/dir
Xinfo/libidn.info
Xinfo/libidn.info-1
Xinfo/libidn.info-2
Xinfo/libidn.info-3
X at exec install-info %D/info/libidn.info %D/info/dir
Xlib/libidn.a
Xlib/libidn.la
Xlib/libidn.so
Xlib/libidn.so.10
Xlib/pkgconfig/libidn.pc
X%%EMACS%%%%EMACSDIR%%/site-lisp/idna.el
X%%EMACS%%%%EMACSDIR%%/site-lisp/punycode.el
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/FAQ
X at unexec rmdir %D/lib/pkgconfig 2>/dev/null || true
X%%EMACS%%@dirrm %%EMACSDIR%%/site-lisp
X%%EMACS%%@dirrm %%EMACSDIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-devel/libidn/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list