aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Net-eBay
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-06-02 03:38:09 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-06-02 03:38:09 +0000
commita237abfebad703e82da4bab914e97c632072a0cd (patch)
tree8db115a293bbaa868402c3107f86ad1efd9feb91 /www/p5-Net-eBay
parenta4b5bef13dac87487adac0b41c4081767656724f (diff)
Add p5-Net-eBay 0.33, perl Interface to XML based eBay API.
PR: ports/98014 Submitted by: Alexander Zhuravlev <zaa@zaa.pp.ru> Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=164193
Diffstat (limited to 'www/p5-Net-eBay')
-rw-r--r--www/p5-Net-eBay/Makefile47
-rw-r--r--www/p5-Net-eBay/distinfo3
-rw-r--r--www/p5-Net-eBay/files/patch-MANIFEST14
-rw-r--r--www/p5-Net-eBay/files/patch-Makefile.PL13
-rw-r--r--www/p5-Net-eBay/pkg-descr10
-rw-r--r--www/p5-Net-eBay/pkg-plist14
6 files changed, 101 insertions, 0 deletions
diff --git a/www/p5-Net-eBay/Makefile b/www/p5-Net-eBay/Makefile
new file mode 100644
index 000000000000..d975b58e182a
--- /dev/null
+++ b/www/p5-Net-eBay/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: p5-Net-eBay
+# Date created: Sat May 27 13:25:11 UTC 2006
+# Whom: Alexander Zhuravlev <zaa@zaa.pp.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-eBay
+PORTVERSION= 0.33
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= zaa@zaa.pp.ru
+COMMENT= Perl Interface to XML based eBay API
+
+BUILD_DEPENDS= ${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww
+BUILD_DEPENDS+= ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple
+BUILD_DEPENDS+= ${SITE_PERL}/XML/Dumper.pm:${PORTSDIR}/textproc/p5-XML-Dumper
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/SSLeay.pm:${PORTSDIR}/security/p5-Crypt-SSLeay
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+INSTALL_TARGET= pure_install
+PLIST_SUB+= EXAMPLESDIR="share/examples/${PORTNAME}"
+
+MAN3= Net::eBay.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= needs Perl 5.6 or later
+.endif
+
+pre-configure:
+ ${MKDIR} ${WRKSRC}/examples
+ ${MV} ${WRKSRC}/*.pl ${WRKSRC}/examples
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-Net-eBay/distinfo b/www/p5-Net-eBay/distinfo
new file mode 100644
index 000000000000..3d1b347c80bb
--- /dev/null
+++ b/www/p5-Net-eBay/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-eBay-0.33.tar.gz) = 85a30fdfdee0db8f4498fde0097b1d30
+SHA256 (Net-eBay-0.33.tar.gz) = 7d597df027bfc950f9f03071d643b81ec7389370b786181fdf1875fd44610f2a
+SIZE (Net-eBay-0.33.tar.gz) = 11955
diff --git a/www/p5-Net-eBay/files/patch-MANIFEST b/www/p5-Net-eBay/files/patch-MANIFEST
new file mode 100644
index 000000000000..6efe25872de9
--- /dev/null
+++ b/www/p5-Net-eBay/files/patch-MANIFEST
@@ -0,0 +1,14 @@
+--- MANIFEST.orig Sat May 27 18:13:17 2006
++++ MANIFEST Sat May 27 18:13:27 2006
+@@ -7,11 +7,3 @@ lib/Net/eBay.pm
+ t/00-load.t
+ t/pod-coverage.t
+ t/pod.t
+-ebay-add-item.pl
+-ebay-get-categories.pl
+-ebay-official-time.pl
+-ebay-validate-test-user.pl
+-ebay-get-my-selling.pl
+-ebay-get-seller-list.pl
+-ebay-get-suggested-categories.pl
+-ebay-search.pl
diff --git a/www/p5-Net-eBay/files/patch-Makefile.PL b/www/p5-Net-eBay/files/patch-Makefile.PL
new file mode 100644
index 000000000000..159e6ac21aec
--- /dev/null
+++ b/www/p5-Net-eBay/files/patch-Makefile.PL
@@ -0,0 +1,13 @@
+--- Makefile.PL.orig Sat May 27 17:51:15 2006
++++ Makefile.PL Sat May 27 17:52:00 2006
+@@ -8,9 +8,7 @@ WriteMakefile(
+ VERSION_FROM => 'lib/Net/eBay.pm',
+ ABSTRACT => 'XML based communication with eBay API',
+ PL_FILES => {},
+- EXE_FILES => [ 'ebay-official-time.pl', 'ebay-validate-test-user.pl',
+- 'ebay-get-categories.pl', 'ebay-add-item.pl', 'ebay-search.pl'
+- ],
++
+ PREREQ_PM => {
+ 'Test::More' => 0,
+ 'XML::Simple' => 0,
diff --git a/www/p5-Net-eBay/pkg-descr b/www/p5-Net-eBay/pkg-descr
new file mode 100644
index 000000000000..1a84901e6c08
--- /dev/null
+++ b/www/p5-Net-eBay/pkg-descr
@@ -0,0 +1,10 @@
+Net::eBay allows super easy access to eBay for any perl developer.
+Make an instance of Net::eBay and then call submitRequest to send
+requests to eBay.
+
+Supports both Legacy API as well as NEW API.
+
+WWW: http://search.cpan.org/dist/Net-eBay/
+
+-- Alexander Zhuravlev
+zaa@zaa.pp.ru
diff --git a/www/p5-Net-eBay/pkg-plist b/www/p5-Net-eBay/pkg-plist
new file mode 100644
index 000000000000..9166e3a66857
--- /dev/null
+++ b/www/p5-Net-eBay/pkg-plist
@@ -0,0 +1,14 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/eBay/.packlist
+%%SITE_PERL%%/Net/eBay.pm
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebay-add-item.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebay-get-categories.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebay-get-my-selling.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebay-get-seller-list.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebay-get-suggested-categories.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebay-official-time.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebay-search.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/ebay-validate-test-user.pl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/eBay
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net