From 68b530317704ed344f567080786046479ed054fb Mon Sep 17 00:00:00 2001 From: bapt Date: Thu, 31 May 2012 11:19:32 +0000 Subject: Convert to new options framework --- mail/p5-Net-IMAP-Simple/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mail/p5-Net-IMAP-Simple') 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 -CONFIGURE_ENV+= WITH_SX="${WITH_SX}" +.if ${PORT_OPTIONS:MSX} +CONFIGURE_ENV+= WITH_SX="true" +.endif .include -.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 -- cgit