summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-14 11:58:15 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-10-14 11:58:15 +0000
commit9df5a033367d60180a9eae284fe30c6c891c359a (patch)
tree56e7528f46d3c6c2f963c1c325d5df67ab05e85c /devel
parent- Update to 4.0.1 (diff)
- Convert to new options helper
Notes
Notes: svn path=/head/; revision=330306
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-IO-Event/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/devel/p5-IO-Event/Makefile b/devel/p5-IO-Event/Makefile
index e37dc0b5feec..f79f41f18732 100644
--- a/devel/p5-IO-Event/Makefile
+++ b/devel/p5-IO-Event/Makefile
@@ -19,22 +19,15 @@ TEST_DEPENDS= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent
OPTIONS_DEFINE= ANYEVENT EVENT
OPTIONS_DEFAULT=ANYEVENT EVENT
-EVENT_DESC= Use Event as underlying event handler
ANYEVENT_DESC= Use AnyEvent as underlying event handler
+EVENT_DESC= Use Event as underlying event handler
USE_PERL5= configure
USES= perl5
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MANYEVENT}
-BUILD_DEPENDS+= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent
-RUN_DEPENDS+= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent
-.endif
-
-.if ${PORT_OPTIONS:MEVENT}
-BUILD_DEPENDS+= p5-Event>=0:${PORTSDIR}/devel/p5-Event
-RUN_DEPENDS+= p5-Event>=0:${PORTSDIR}/devel/p5-Event
-.endif
+ANYEVENT_BUILD_DEPENDS= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent
+ANYEVENT_RUN_DEPENDS= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent
+EVENT_BUILD_DEPENDS= p5-Event>=0:${PORTSDIR}/devel/p5-Event
+EVENT_RUN_DEPENDS= p5-Event>=0:${PORTSDIR}/devel/p5-Event
.include <bsd.port.mk>