aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/p5-Net-eBay/Makefile38
-rw-r--r--www/p5-Net-eBay/distinfo4
-rw-r--r--www/p5-Net-eBay/pkg-plist2
3 files changed, 24 insertions, 20 deletions
diff --git a/www/p5-Net-eBay/Makefile b/www/p5-Net-eBay/Makefile
index ff40351f8972..2048d5724e0b 100644
--- a/www/p5-Net-eBay/Makefile
+++ b/www/p5-Net-eBay/Makefile
@@ -6,36 +6,40 @@
#
PORTNAME= Net-eBay
-PORTVERSION= 0.54
+PORTVERSION= 0.55
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Perl Interface to XML based eBay API
-BUILD_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
- ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
- ${SITE_PERL}/XML/Dumper.pm:${PORTSDIR}/textproc/p5-XML-Dumper \
- ${SITE_PERL}/DateTime/Precise.pm:${PORTSDIR}/devel/p5-DateTime-Precise \
- ${SITE_PERL}/${PERL_ARCH}/Crypt/SSLeay.pm:${PORTSDIR}/security/p5-Crypt-SSLeay
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
+ p5-DateTime-Precise>=0:${PORTSDIR}/devel/p5-DateTime-Precise \
+ p5-HTML-Format>=0:${PORTSDIR}/textproc/p5-HTML-Format \
+ p5-HTML-PrettyPrinter>=0:${PORTSDIR}/www/p5-HTML-PrettyPrinter \
+ p5-HTML-Tree>=0:${PORTSDIR}/www/p5-HTML-Tree \
+ p5-HTTP-Date>=0:${PORTSDIR}/www/p5-HTTP-Date \
+ p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
+ p5-Text-Format>=0:${PORTSDIR}/textproc/p5-Text-Format \
+ p5-XML-Dumper>=0:${PORTSDIR}/textproc/p5-XML-Dumper \
+ p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-INSTALL_TARGET= pure_install
-PLIST_SUB+= EXAMPLESDIR="share/examples/${PORTNAME}"
MAN3= Net::eBay.3
-pre-configure:
- ${MKDIR} ${WRKSRC}/examples
- ${MV} ${WRKSRC}/*.pl ${WRKSRC}/examples/
+post-patch:
+ @${MKDIR} ${WRKSRC}/examples/
+ @${MV} ${WRKSRC}/*.pl ${WRKSRC}/examples/
+ @${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/examples/*.pl
post-install:
-.ifndef(NOPORTEXAMPLES)
- @${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>
diff --git a/www/p5-Net-eBay/distinfo b/www/p5-Net-eBay/distinfo
index 25d7591ed076..dde0cc254dba 100644
--- a/www/p5-Net-eBay/distinfo
+++ b/www/p5-Net-eBay/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Net-eBay-0.54.tar.gz) = 4b4756de67a15fcabdc2b56aeccae345a22af88024c9a316833386d5dba5ca7b
-SIZE (Net-eBay-0.54.tar.gz) = 22195
+SHA256 (Net-eBay-0.55.tar.gz) = 48e6560b77a1baacef5d34840020309731b6cd7118df2716ea02fa34134fe715
+SIZE (Net-eBay-0.55.tar.gz) = 22603
diff --git a/www/p5-Net-eBay/pkg-plist b/www/p5-Net-eBay/pkg-plist
index 156362b1ad22..f58298aa90d6 100644
--- a/www/p5-Net-eBay/pkg-plist
+++ b/www/p5-Net-eBay/pkg-plist
@@ -1,5 +1,5 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/eBay/.packlist
%%SITE_PERL%%/Net/eBay.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/eBay/.packlist
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-add-item.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-api-usage.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ebay-end-item-early.pl