diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-31 19:19:32 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-31 19:19:32 +0800 |
commit | 68b530317704ed344f567080786046479ed054fb (patch) | |
tree | 93fe9eebc56e2451ba426603948adb8749cb38e9 /mail/p5-Net-IMAP-Simple | |
parent | aedee365f6b7833ae31d4b673dcd979c369e4ac2 (diff) | |
download | freebsd-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/Makefile | 9 |
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 |