aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Scalar-Util-Clone
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-09-08 09:12:10 +0800
committerlinimon <linimon@FreeBSD.org>2007-09-08 09:12:10 +0800
commit9ccc7e92dea72d32d4ae04470bbce43e6f9227da (patch)
tree20264757b2346c435477e3f6cfdf324086bbafe9 /devel/p5-Scalar-Util-Clone
parent07d9e093a64a0c7f96ed0775d50e0f818d98fd80 (diff)
downloadfreebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.gz
freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.zst
freebsd-ports-gnome-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.zip
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr
Diffstat (limited to 'devel/p5-Scalar-Util-Clone')
-rw-r--r--devel/p5-Scalar-Util-Clone/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/p5-Scalar-Util-Clone/Makefile b/devel/p5-Scalar-Util-Clone/Makefile
index 45057c392c6f..4c6107df118b 100644
--- a/devel/p5-Scalar-Util-Clone/Makefile
+++ b/devel/p5-Scalar-Util-Clone/Makefile
@@ -18,17 +18,11 @@ COMMENT= Recursively copy datatypes using Perl's builtin functions
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.8.0+
MAN3= Scalar::Util::Clone.3
-.include <bsd.port.pre.mk>
-
post-extract:
@${PERL} -pi -e '$$_ = undef if /''OPTIMIZE''/' ${WRKSRC}/Makefile.PL
-.if ${PERL_LEVEL} < 500800
-IGNORE= requires perl 5.8 or later. Install lang/perl5.8 then try again
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>