summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2009-12-15 09:32:27 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2009-12-15 09:32:27 +0000
commit8424ac8b8cdf8228359431bdbcc7d01fdd40d511 (patch)
tree1ccd853a2fe8755c3ed0c40fe50e8447d451fe71
parent- "It appears the API has changed in libevent and pftpx is a dead project. (diff)
- simplify dependencies
- bump PORTREVISION
-rw-r--r--textproc/p5-Text-Quote/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/textproc/p5-Text-Quote/Makefile b/textproc/p5-Text-Quote/Makefile
index e38066ae57af..c9831e7c9889 100644
--- a/textproc/p5-Text-Quote/Makefile
+++ b/textproc/p5-Text-Quote/Makefile
@@ -8,6 +8,7 @@
PORTNAME= Text-Quote
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,13 +16,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Quotes strings as required for perl to eval them back correctly
-BUILD_DEPENDS= p5-Compress-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Zlib \
- p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64 \
- p5-Carp-Assert>=0:${PORTSDIR}/devel/p5-Carp-Assert
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Carp-Assert>=0.13:${PORTSDIR}/devel/p5-Carp-Assert
+BUILD_DEPENDS= ${RUN_DEPENDS}
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.8.0+
-MAN3= Text::Quote.3
+MAN3= Text::Quote.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-Compress-Zlib>=1.16:${PORTSDIR}/archivers/p5-Compress-Zlib
+.endif
+
+.include <bsd.port.post.mk>