freebsd-ports/devel/p5-Canary-Stability/Makefile
Adam Weinberger 04e573a0ac Neutralize Canary::Stability entirely
As time goes on, the uselessness of this module only increases.
Previously, a short-circuit was used to return early from import(),
but there's no point in even wasting time to compile it anymore.
Instead, when ACTIVATE is off, replace the module entirely with
a much more functional stub.
2018-06-24 01:06:40 +00:00

27 lines
553 B
Makefile

# $FreeBSD$
PORTNAME= Canary-Stability
PORTVERSION= 2012
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MLEHMANN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Checks what version of perl you're running and then complains about it
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= ACTIVATE
ACTIVATE_DESC= Enable Canary::Stability functionality
# Install an empty stub
post-patch-ACTIVATE-off:
${CP} ${FILESDIR}/Stability.pm ${WRKSRC}
.include <bsd.port.mk>