summaryrefslogtreecommitdiff
path: root/net-im/p5-Protocol-XMPP
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-03-11 11:07:49 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-03-11 11:07:49 +0000
commit718f60ddcfecb90ef3ef215fd617adf14bab0257 (patch)
treefb0ecd2696967372ef6234021792fc1fc332f699 /net-im/p5-Protocol-XMPP
parent- upgrade to 0.27 (diff)
- Fix dependency
Reported by: az Submitted by: sunpoet (myself) Approved by: <ports@c0decafe.net> (maintainer)
Notes
Notes: svn path=/head/; revision=270666
Diffstat (limited to 'net-im/p5-Protocol-XMPP')
-rw-r--r--net-im/p5-Protocol-XMPP/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/net-im/p5-Protocol-XMPP/Makefile b/net-im/p5-Protocol-XMPP/Makefile
index e9a3ee2520c9..dbc546f90dcb 100644
--- a/net-im/p5-Protocol-XMPP/Makefile
+++ b/net-im/p5-Protocol-XMPP/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Protocol-XMPP
PORTVERSION= 0.005
+PORTREVISION= 1
CATEGORIES= net-im perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:TEAM
@@ -16,9 +17,7 @@ MAINTAINER= ports@c0decafe.net
COMMENT= Protocol-level support for XMPP interaction
RUN_DEPENDS= p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL \
- p5-Module-Load>=0:${PORTSDIR}/devel/p5-Module-Load \
- p5-XML-LibXML-SAX-ChunkParser>=0.00003:${PORTSDIR}/textproc/p5-XML-LibXML-SAX-ChunkParser \
- p5-parent>=0:${PORTSDIR}/devel/p5-parent
+ p5-XML-LibXML-SAX-ChunkParser>=0.00003:${PORTSDIR}/textproc/p5-XML-LibXML-SAX-ChunkParser
PERL_CONFIGURE= yes
@@ -55,4 +54,11 @@ MAN3= Protocol::XMPP.3 \
Protocol::XMPP::TextElement.3 \
Protocol::XMPP::User.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-Module-Load>=0:${PORTSDIR}/devel/p5-Module-Load \
+ p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>