aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-CSS-Tiny/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-CSS-Tiny/Makefile')
-rw-r--r--textproc/p5-CSS-Tiny/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/textproc/p5-CSS-Tiny/Makefile b/textproc/p5-CSS-Tiny/Makefile
index 3de781f9deaf..742f5a9c385a 100644
--- a/textproc/p5-CSS-Tiny/Makefile
+++ b/textproc/p5-CSS-Tiny/Makefile
@@ -7,6 +7,7 @@
PORTNAME= CSS-Tiny
PORTVERSION= 1.08
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CSS
@@ -15,6 +16,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= hansjoerg.pehofer@uibk.ac.at
COMMENT= Read/Write .css files with as little code as possible
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= CSS::Tiny.3
@@ -24,11 +28,6 @@ MAN3= CSS::Tiny.3
EXTRA_PATCHES= ${PATCHDIR}/500503-lib::CSS::Tiny.pm
.endif
-.if ${PERL_LEVEL} < 500601
-BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-.endif
-
post-patch:
@${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm
@${PERL} -pi -e '$$_="" if /AutoInstall/' ${WRKSRC}/MANIFEST