aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Any-Moose
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 13:49:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-11 13:49:05 +0000
commitb2259a909974739ce0115f783751532ba072e123 (patch)
tree49a9058687c46613437d48ef342bd3cd3963c552 /devel/p5-Any-Moose
parent8e333308211c2bdccff1ce35bd20137270945a6e (diff)
downloadports-b2259a909974739ce0115f783751532ba072e123.tar.gz
ports-b2259a909974739ce0115f783751532ba072e123.zip
Notes
Diffstat (limited to 'devel/p5-Any-Moose')
-rw-r--r--devel/p5-Any-Moose/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/p5-Any-Moose/Makefile b/devel/p5-Any-Moose/Makefile
index 6adf60e6a7e8..0bcf7cd22ac5 100644
--- a/devel/p5-Any-Moose/Makefile
+++ b/devel/p5-Any-Moose/Makefile
@@ -16,17 +16,19 @@ PERL_CONFIGURE= yes
MAN3= Any::Moose.3
-OPTIONS= MOOSE "Use Moose" off \
- MOUSE "Use Mouse" on
+OPTIONS_DEFINE= MOOSE MOUSE
+OPTIONS_DEFAULT= MOUSE
+MOOSE_DESC= Use Moose
+MOUSE_DESC= Use Mouse
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_MOOSE)
+.if ${PORT_OPTIONS:MMOOSE}
BUILD_DEPENDS+= p5-Moose>0:${PORTSDIR}/devel/p5-Moose
RUN_DEPENDS+= p5-Moose>0:${PORTSDIR}/devel/p5-Moose
.endif
-.if defined(WITH_MOUSE)
+.if ${PORT_OPTIONS:MMOUSE}
BUILD_DEPENDS+= p5-Mouse>=0.40:${PORTSDIR}/devel/p5-Mouse
RUN_DEPENDS+= p5-Mouse>=0.40:${PORTSDIR}/devel/p5-Mouse
.endif