aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-06-19 11:57:08 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-06-19 11:57:08 +0800
commit708614f82184d38833a156fb0608599ba993331e (patch)
tree3201fb5e6bc49ccdc118d4cf35b6bf524f258468
parentf77674c355b273f98b83db1f3280635e6f3270d6 (diff)
downloadfreebsd-ports-gnome-708614f82184d38833a156fb0608599ba993331e.tar.gz
freebsd-ports-gnome-708614f82184d38833a156fb0608599ba993331e.tar.zst
freebsd-ports-gnome-708614f82184d38833a156fb0608599ba993331e.zip
- Update to 0.61
- Convert to new options framework Changes: http://search.cpan.org/dist/Net-eBay/Changes
-rw-r--r--www/p5-Net-eBay/Makefile8
-rw-r--r--www/p5-Net-eBay/distinfo4
2 files changed, 8 insertions, 4 deletions
diff --git a/www/p5-Net-eBay/Makefile b/www/p5-Net-eBay/Makefile
index 2048d5724e0b..0872f4c1f7ec 100644
--- a/www/p5-Net-eBay/Makefile
+++ b/www/p5-Net-eBay/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-eBay
-PORTVERSION= 0.55
+PORTVERSION= 0.61
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -27,17 +27,21 @@ BUILD_DEPENDS= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
+OPTIONS_DEFINE= EXAMPLES
+
PERL_CONFIGURE= yes
MAN3= Net::eBay.3
+.include <bsd.port.options.mk>
+
post-patch:
@${MKDIR} ${WRKSRC}/examples/
@${MV} ${WRKSRC}/*.pl ${WRKSRC}/examples/
@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/examples/*.pl
post-install:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}/
.endif
diff --git a/www/p5-Net-eBay/distinfo b/www/p5-Net-eBay/distinfo
index dde0cc254dba..48ec7670bf89 100644
--- a/www/p5-Net-eBay/distinfo
+++ b/www/p5-Net-eBay/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Net-eBay-0.55.tar.gz) = 48e6560b77a1baacef5d34840020309731b6cd7118df2716ea02fa34134fe715
-SIZE (Net-eBay-0.55.tar.gz) = 22603
+SHA256 (Net-eBay-0.61.tar.gz) = 69904ffc4e0794878ab86c749d03b129edc7c220dbd0f29c65dc50fd6fdfe54d
+SIZE (Net-eBay-0.61.tar.gz) = 24969