aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Class-Autouse/Makefile
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2004-11-14 12:57:33 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2004-11-14 12:57:33 +0000
commit0c79ad1435424cadea70109986bdd849b9e4916c (patch)
tree9357cca0359ed416d33511c426ac2d6b43ad4d20 /devel/p5-Class-Autouse/Makefile
parent9f83b1f482c55b247fa4cd88704c1eeabedd7474 (diff)
downloadports-0c79ad1435424cadea70109986bdd849b9e4916c.tar.gz
ports-0c79ad1435424cadea70109986bdd849b9e4916c.zip
Notes
Diffstat (limited to 'devel/p5-Class-Autouse/Makefile')
-rw-r--r--devel/p5-Class-Autouse/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/p5-Class-Autouse/Makefile b/devel/p5-Class-Autouse/Makefile
index f32bd48c2172..2ed7d0bbaa83 100644
--- a/devel/p5-Class-Autouse/Makefile
+++ b/devel/p5-Class-Autouse/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Class-Autouse
-PORTVERSION= 1.04
+PORTVERSION= 1.11
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
@@ -15,8 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Defer loading of one or more classes
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
+ ${SITE_PERL}/prefork.pm:${PORTSDIR}/devel/p5-prefork
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= Class::Autouse.3
+post-patch:
+ @${RM} ${WRKSRC}/prefork.pm
+ @${PERL} -pi -e 's/^auto_install.*$$//' ${WRKSRC}/Makefile.PL
+
.include <bsd.port.mk>