aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Net-IMAP-Simple
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-31 19:19:32 +0800
committerbapt <bapt@FreeBSD.org>2012-05-31 19:19:32 +0800
commit68b530317704ed344f567080786046479ed054fb (patch)
tree93fe9eebc56e2451ba426603948adb8749cb38e9 /mail/p5-Net-IMAP-Simple
parentaedee365f6b7833ae31d4b673dcd979c369e4ac2 (diff)
downloadfreebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.tar.gz
freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.tar.zst
freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.zip
Convert to new options framework
Diffstat (limited to 'mail/p5-Net-IMAP-Simple')
-rw-r--r--mail/p5-Net-IMAP-Simple/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/p5-Net-IMAP-Simple/Makefile b/mail/p5-Net-IMAP-Simple/Makefile
index 75e5235651f9..754ae7191143 100644
--- a/mail/p5-Net-IMAP-Simple/Makefile
+++ b/mail/p5-Net-IMAP-Simple/Makefile
@@ -39,15 +39,18 @@ PERL_CONFIGURE= yes
MAN3= Net::IMAP::Simple.3 \
Net::IMAP::Simple::PipeSocket.3
-OPTIONS= SX "Simple protocol extensions (use Parse::RecDescent)" off
+OPTIONS_DEFINE= SX
+SX_DESC= Simple protocol extensions (use Parse::RecDescent)
.include <bsd.port.options.mk>
-CONFIGURE_ENV+= WITH_SX="${WITH_SX}"
+.if ${PORT_OPTIONS:MSX}
+CONFIGURE_ENV+= WITH_SX="true"
+.endif
.include <bsd.port.pre.mk>
-.ifdef(WITH_SX)
+.if ${PORT_OPTIONS:MSX}
PLIST_SUB+= WITH_SX=""
MAN3+= Net::IMAP::SimpleX.3
RUN_DEPENDS+= p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent