aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Danga-Socket/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-10-25 16:51:15 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-10-25 16:51:15 +0000
commit031be3bf022a7aa34c42a3f5011ae91157b94e6f (patch)
tree46adc5597a1f7ffd9fdf01868a88fb5b3f589ded /devel/p5-Danga-Socket/Makefile
parentca512f9c0eeb47441229b2ece96af2906549bc33 (diff)
downloadports-031be3bf022a7aa34c42a3f5011ae91157b94e6f.tar.gz
ports-031be3bf022a7aa34c42a3f5011ae91157b94e6f.zip
Notes
Diffstat (limited to 'devel/p5-Danga-Socket/Makefile')
-rw-r--r--devel/p5-Danga-Socket/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/devel/p5-Danga-Socket/Makefile b/devel/p5-Danga-Socket/Makefile
index 1a02db331363..0af64a83a644 100644
--- a/devel/p5-Danga-Socket/Makefile
+++ b/devel/p5-Danga-Socket/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Danga-Socket
PORTVERSION= 1.59
+PORTREVISION= 1
CATEGORIES= devel net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,16 +15,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Event loop and event-driven async socket base class
-BUILD_DEPENDS= ${SITE_PERL}/Sys/Syscall.pm:${PORTSDIR}/devel/p5-Sys-Syscall \
- ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
- ${SITE_PERL}/${PERL_ARCH}/IO/KQueue.pm:${PORTSDIR}/devel/p5-IO-KQueue \
- ${SITE_PERL}/${PERL_ARCH}/BSD/Resource.pm:${PORTSDIR}/devel/p5-BSD-Resource \
- ${SITE_PERL}/${PERL_ARCH}/IO/Poll.pm:${PORTSDIR}/devel/p5-IO \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-IO-KQueue>=0:${PORTSDIR}/devel/p5-IO-KQueue \
+ p5-Sys-Syscall>=0:${PORTSDIR}/devel/p5-Sys-Syscall
PERL_CONFIGURE= yes
MAN3= Danga::Socket.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.include <bsd.port.post.mk>