ports/63931: New port: devel/p5-Net-LibIDN (perl bindings for libidn)
Dominik Brettnacher
domi at saargate.de
Mon Mar 8 16:10:10 UTC 2004
>Number: 63931
>Category: ports
>Synopsis: New port: devel/p5-Net-LibIDN (perl bindings for libidn)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 08 08:10:09 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Dominik Brettnacher
>Release: FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD destiny.office.mzg.teresto.net 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #3: Sat Aug 30 16:17:47 CEST 2003 domi at destiny.office.mzg.teresto.net:/usr/obj/usr/src/sys/DESTINY i386
>Description:
This is the perl module for the GNU IDN library.
Remarks:
- I tried to build it with only perl version 5.0, but it did not work.
- I chose the "devel" category because the library this ports depends on
(namely devel/libidn) also resides there.
- Although not my first port, it is my first perl module to be ported.
I looked at various other ports for advice, but nevertheless: please
complain if something is looking suspicous.
>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:
#
# p5-Net-LibIDN
# p5-Net-LibIDN/Makefile
# p5-Net-LibIDN/distinfo
# p5-Net-LibIDN/pkg-descr
# p5-Net-LibIDN/pkg-plist
#
echo c - p5-Net-LibIDN
mkdir -p p5-Net-LibIDN > /dev/null 2>&1
echo x - p5-Net-LibIDN/Makefile
sed 's/^X//' >p5-Net-LibIDN/Makefile << 'END-of-p5-Net-LibIDN/Makefile'
X# New ports collection makefile for: p5-Net-LibIDN
X# Date created: 06 March 2004
X# Whom: Dominik Brettnacher <domi at saargate.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Net-LibIDN
XPORTVERSION= 0.04
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= ../../authors/id/T/TH/THOR
XPKGNAMEPREFIX= p5-
X
XLIB_DEPENDS= idn.13:${PORTSDIR}/devel/libidn
X
XMAINTAINER= domi at saargate.de
XCOMMENT= This module provides access to the libidn library
X
XPERL_CONFIGURE= yes
XCONFIGURE_ARGS+= --with-libidn=${PREFIX}/lib --with-libidn-inc=${PREFIX}/include
X
XMAN3= Net::LibIDN.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XIGNORE= This port requires perl 5.6.x or later. Install lang/perl5 and try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Net-LibIDN/Makefile
echo x - p5-Net-LibIDN/distinfo
sed 's/^X//' >p5-Net-LibIDN/distinfo << 'END-of-p5-Net-LibIDN/distinfo'
XMD5 (Net-LibIDN-0.04.tar.gz) = dd743b5c21a3d0f8c0a5d38db2bc6a07
XSIZE (Net-LibIDN-0.04.tar.gz) = 12798
END-of-p5-Net-LibIDN/distinfo
echo x - p5-Net-LibIDN/pkg-descr
sed 's/^X//' >p5-Net-LibIDN/pkg-descr << 'END-of-p5-Net-LibIDN/pkg-descr'
XThis module provides Perl bindings for the GNU IDN Library (Libidn)
X(see also Port devel/libidn).
X
XWWW: http://search.cpan.org/~thor/Net-LibIDN-0.04/
END-of-p5-Net-LibIDN/pkg-descr
echo x - p5-Net-LibIDN/pkg-plist
sed 's/^X//' >p5-Net-LibIDN/pkg-plist << 'END-of-p5-Net-LibIDN/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LibIDN/LibIDN.so
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LibIDN/LibIDN.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LibIDN/autosplit.ix
X%%SITE_PERL%%/%%PERL_ARCH%%/Net/LibIDN.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LibIDN/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/LibIDN
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net || true
END-of-p5-Net-LibIDN/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list