pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/p5-Net-LibIDN Import p5-Net-LibIDN version 0.11.
details: https://anonhg.NetBSD.org/pkgsrc/rev/1a38352ac88e
branches: trunk
changeset: 547342:1a38352ac88e
user: he <he%pkgsrc.org@localhost>
date: Mon Sep 15 14:57:28 2008 +0000
description:
Import p5-Net-LibIDN version 0.11.
Adapted from submission in PR#39542.
Adds a patch to portably pull in $Config{ldflags} to avoid run-path
lossage which would otherwise ensue.
Provides bindings for GNU Libidn, a C library for handling Internationalized
Domain Names according to IDNA (RFC 3490), in a way very much inspired by
Turbo Fredriksson's PHP-IDN.
diffstat:
net/p5-Net-LibIDN/DESCR | 3 +++
net/p5-Net-LibIDN/Makefile | 22 ++++++++++++++++++++++
net/p5-Net-LibIDN/distinfo | 6 ++++++
net/p5-Net-LibIDN/patches/patch-aa | 21 +++++++++++++++++++++
4 files changed, 52 insertions(+), 0 deletions(-)
diffs (68 lines):
diff -r 7681a597fc1c -r 1a38352ac88e net/p5-Net-LibIDN/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-LibIDN/DESCR Mon Sep 15 14:57:28 2008 +0000
@@ -0,0 +1,3 @@
+Provides bindings for GNU Libidn, a C library for handling Internationalized
+Domain Names according to IDNA (RFC 3490), in a way very much inspired by
+Turbo Fredriksson's PHP-IDN.
diff -r 7681a597fc1c -r 1a38352ac88e net/p5-Net-LibIDN/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-LibIDN/Makefile Mon Sep 15 14:57:28 2008 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/15 14:57:28 he Exp $
+
+DISTNAME= Net-LibIDN-0.11
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://search.cpan.org/dist/Net-LibIDN/
+COMMENT= Perl bindings for GNU Libidn
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+MAKE_PARAMS.makemaker+= --with-libidn=${PREFIX}/lib
+MAKE_PARAMS.makemaker+= --with-libidn-inc=${PREFIX}/include
+
+PERL5_PACKLIST= auto/Net/LibIDN/.packlist
+
+.include "../../devel/libidn/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7681a597fc1c -r 1a38352ac88e net/p5-Net-LibIDN/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-LibIDN/distinfo Mon Sep 15 14:57:28 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/15 14:57:28 he Exp $
+
+SHA1 (Net-LibIDN-0.11.tar.gz) = 702671498230e7f1da2046fb000bd7fcabb2cbdb
+RMD160 (Net-LibIDN-0.11.tar.gz) = 00b5714590527e9ef2d7ce94f88d937ffe414067
+Size (Net-LibIDN-0.11.tar.gz) = 14133 bytes
+SHA1 (patch-aa) = 663abae5d8a7aa7cb653da343160c058dcd11602
diff -r 7681a597fc1c -r 1a38352ac88e net/p5-Net-LibIDN/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-LibIDN/patches/patch-aa Mon Sep 15 14:57:28 2008 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/15 14:57:28 he Exp $
+
+--- Makefile.PL.orig 2008-08-26 19:39:22.000000000 +0200
++++ Makefile.PL
+@@ -1,6 +1,7 @@
+ use strict;
+ use ExtUtils::MakeMaker;
+ use Getopt::Long;
++use Config;
+
+ # See lib/ExtUtils/MakeMaker.pm for details of how to influence
+ # the contents of the Makefile that is written.
+@@ -48,7 +49,7 @@ sub InitMakeParams
+
+ if ($libdir)
+ {
+- $Params{LIBS} = "-L$libdir -lidn";
++ $Params{LIBS} = $Config{ldflags} . " -lidn";
+ }
+ else
+ {
Home |
Main Index |
Thread Index |
Old Index