summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2017-01-24 13:39:42 +0000
committermef <mef@pkgsrc.org>2017-01-24 13:39:42 +0000
commitc434902b059da0feaa4e0241cd789a35e6375bbd (patch)
treec4e3e4f4df881853927bef28a9bb00626117ba89 /net
parentd0f20e8e00104227fb8e9aeb58dcde071193d67f (diff)
downloadpkgsrc-c434902b059da0feaa4e0241cd789a35e6375bbd.tar.gz
Import p5-XML-RPC-0.9 as net/p5-XML-RPC.
XML::RPC module provides simple Pure Perl methods for XML-RPC communication. It's goals are simplicity and flexibility. XML::RPC uses XML::TreePP for parsing. Thanks bsiegert@ for suggestion to category.
Diffstat (limited to 'net')
-rw-r--r--net/p5-XML-RPC/DESCR3
-rw-r--r--net/p5-XML-RPC/Makefile17
-rw-r--r--net/p5-XML-RPC/distinfo7
-rw-r--r--net/p5-XML-RPC/patches/patch-make-dist.sh15
4 files changed, 42 insertions, 0 deletions
diff --git a/net/p5-XML-RPC/DESCR b/net/p5-XML-RPC/DESCR
new file mode 100644
index 00000000000..2dc92d96db6
--- /dev/null
+++ b/net/p5-XML-RPC/DESCR
@@ -0,0 +1,3 @@
+XML::RPC module provides simple Pure Perl methods for XML-RPC
+communication. It's goals are simplicity and flexibility. XML::RPC uses
+XML::TreePP for parsing.
diff --git a/net/p5-XML-RPC/Makefile b/net/p5-XML-RPC/Makefile
new file mode 100644
index 00000000000..b9b50eb7acb
--- /dev/null
+++ b/net/p5-XML-RPC/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2017/01/24 13:39:42 mef Exp $
+
+DISTNAME= XML-RPC-0.9
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= perl5 net
+MASTER_SITES= http://search.cpan.org/CPAN/authors/id/D/DA/DAAN/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/CPAN/authors/id/D/DA/DAAN/
+COMMENT= Pure Perl implementation for an XML-RPC client and server
+LICENSE= ${PERL5_LICENSE}
+
+PERL5_PACKLIST= auto/XML-RPC/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-XML-RPC/distinfo b/net/p5-XML-RPC/distinfo
new file mode 100644
index 00000000000..ce81821f212
--- /dev/null
+++ b/net/p5-XML-RPC/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/01/24 13:39:42 mef Exp $
+
+SHA1 (XML-RPC-0.9.tar.gz) = 0d70904c825e8cde1509b2985322feddf2cd2fd0
+RMD160 (XML-RPC-0.9.tar.gz) = 1d00728c9b9a72a5cf8eaeb5360494539026517f
+SHA512 (XML-RPC-0.9.tar.gz) = e02be983e2a691563d5b77d6018bbcc41271aeb702e24f8d6f81286e7fc339c44494e1efd47bcc283ee586da1508d1954a9ff1e67d91bf9151b0ab4e393268fc
+Size (XML-RPC-0.9.tar.gz) = 4745 bytes
+SHA1 (patch-make-dist.sh) = 02c28cbb2bb5d433115c8b71e30ddb0f4cf79c1a
diff --git a/net/p5-XML-RPC/patches/patch-make-dist.sh b/net/p5-XML-RPC/patches/patch-make-dist.sh
new file mode 100644
index 00000000000..27aaac7784d
--- /dev/null
+++ b/net/p5-XML-RPC/patches/patch-make-dist.sh
@@ -0,0 +1,15 @@
+$NetBSD: patch-make-dist.sh,v 1.1 2017/01/24 13:39:42 mef Exp $
+
+ERROR: [check-portability.awk] => Found test ... == ...:
+
+--- make-dist.sh.orig 2009-01-02 05:42:33.000000000 +0900
++++ make-dist.sh 2017-01-21 21:49:15.000000000 +0900
+@@ -20,7 +20,7 @@ doit make
+ doit make disttest
+
+ main=`grep version_from META.yml | cut -f 2 -d :`
+-[ "$main" == "" ] && die "version_from is not found in META.yml"
++[ "$main" = "" ] && die "version_from is not found in META.yml"
+ doit pod2text $main > README
+
+ doit make dist