aboutsummaryrefslogtreecommitdiff
path: root/converters/p5-JSON-XS
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2016-02-27 15:14:22 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2016-02-27 15:14:22 +0000
commit48ffb5c56ff2b21894585a07913d9ef3bc157676 (patch)
treeddcf3ef7238fccf646de8137de4868b28616a733 /converters/p5-JSON-XS
parent8511ad9cc9ee1faa409b9ff1fefa1ecc4201e851 (diff)
downloadports-48ffb5c56ff2b21894585a07913d9ef3bc157676.tar.gz
ports-48ffb5c56ff2b21894585a07913d9ef3bc157676.zip
Update to 3.02.
I'm deleting the Canary::Stability dependency. It's a useless build-time dependency that the upstream author likes to add to his modules. It does a series of about 3 checks about the Perl version that are already handled by the ports tree.
Notes
Notes: svn path=/head/; revision=409671
Diffstat (limited to 'converters/p5-JSON-XS')
-rw-r--r--converters/p5-JSON-XS/Makefile7
-rw-r--r--converters/p5-JSON-XS/distinfo4
2 files changed, 7 insertions, 4 deletions
diff --git a/converters/p5-JSON-XS/Makefile b/converters/p5-JSON-XS/Makefile
index e1c1359305af..24f3d88a5d53 100644
--- a/converters/p5-JSON-XS/Makefile
+++ b/converters/p5-JSON-XS/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= JSON-XS
-PORTVERSION= 3.01
-PORTREVISION= 2
+PORTVERSION= 3.02
CATEGORIES= converters perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -21,6 +20,10 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
+post-patch:
+# This dependency does nothing and is safe to remove
+ @${REINPLACE_CMD} -e '/use Canary::Stability/d' ${WRKSRC}/Makefile.PL
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/JSON/XS/XS.so
diff --git a/converters/p5-JSON-XS/distinfo b/converters/p5-JSON-XS/distinfo
index 5eff0c83413c..7891d172f316 100644
--- a/converters/p5-JSON-XS/distinfo
+++ b/converters/p5-JSON-XS/distinfo
@@ -1,2 +1,2 @@
-SHA256 (JSON-XS-3.01.tar.gz) = 4e8df3256a5aa9ed304ce1bbcd9140737deef31ba847bff9f4c15480c88c71ab
-SIZE (JSON-XS-3.01.tar.gz) = 78245
+SHA256 (JSON-XS-3.02.tar.gz) = 5f6a5944887d75f1d34440a2d9e69ef12e23f434af23acb143fb0241f40b02be
+SIZE (JSON-XS-3.02.tar.gz) = 82712