svn commit: r410943 - head/devel/p5-Canary-Stability
Adam Weinberger
adamw at FreeBSD.org
Sun Mar 13 06:27:14 UTC 2016
Author: adamw
Date: Sun Mar 13 06:27:12 2016
New Revision: 410943
URL: https://svnweb.freebsd.org/changeset/ports/410943
Log:
Update to 2011. COMMENT didn't start with a capital, so reword it.
Introduce an OPTION to decide whether to make the module active. Disable
it by default.
This module is a 207-line script that checks what version of perl you're
using, and then makes some bird-themed comments about it. If you're running
the current stable version of perl, it tells you that you should downgrade
to an old version, or use a personal fork from "schmorp". FreeBSD does not
support that fork. Other features of this module include requiring keyboard
input. Previous versions featured dropping build output in favour of colour
sequences. The module provides no other feature than those listed above.
At best, the comments are inaccurate for FreeBSD. At worst, they can block
input or cause end-users to install personal forks that we do not support.
FreeBSD ports does a much more comprehensive job of checking perl versions
already. If this module is updated to perform some sort of functionality in
the future, the ACTIVATE option can be easily enabled or removed.
Changes: https://metacpan.org/changes/distribution/Canary-Stability
Modified:
head/devel/p5-Canary-Stability/Makefile
head/devel/p5-Canary-Stability/distinfo
Modified: head/devel/p5-Canary-Stability/Makefile
==============================================================================
--- head/devel/p5-Canary-Stability/Makefile Sun Mar 13 04:15:57 2016 (r410942)
+++ head/devel/p5-Canary-Stability/Makefile Sun Mar 13 06:27:12 2016 (r410943)
@@ -1,14 +1,14 @@
# $FreeBSD$
PORTNAME= Canary-Stability
-PORTVERSION= 2006
+PORTVERSION= 2011
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MLEHMANN
PKGNAMEPREFIX= p5-
MAINTAINER= perl at FreeBSD.org
-COMMENT= canary to check perl compatibility for schmorp's modules
+COMMENT= Checks what version of perl you're running
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
@@ -16,4 +16,12 @@ LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
+OPTIONS_DEFINE= ACTIVATE
+ACTIVATE_DESC= Enable Canary::Stability functionality
+
+# Just skip everything in this module unless activated
+post-patch-ACTIVATE-off:
+ @${REINPLACE_CMD} -e '/^sub import {/s/$$/ return 1; /' \
+ ${WRKSRC}/Stability.pm
+
.include <bsd.port.mk>
Modified: head/devel/p5-Canary-Stability/distinfo
==============================================================================
--- head/devel/p5-Canary-Stability/distinfo Sun Mar 13 04:15:57 2016 (r410942)
+++ head/devel/p5-Canary-Stability/distinfo Sun Mar 13 06:27:12 2016 (r410943)
@@ -1,2 +1,2 @@
-SHA256 (Canary-Stability-2006.tar.gz) = 47afc038ece0b77e212afc05656791345ac08826f6102181a429dd231720d62e
-SIZE (Canary-Stability-2006.tar.gz) = 3621
+SHA256 (Canary-Stability-2011.tar.gz) = 63f852d196b4e32ac28998ea7987bd5960b919110ed441512c6191bcc352c1fc
+SIZE (Canary-Stability-2011.tar.gz) = 4265
More information about the svn-ports-all
mailing list