diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 11:19:32 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-31 11:19:32 +0000 |
commit | 0cb47f77537c2b13f5acb82c1ad559fbfe26a829 (patch) | |
tree | ca9945973b3815f11f68140f3be1ab0a2cb34abb /mail | |
parent | 604cf10be2fdf875d9d65a0ecd7cc4e9ec54a2cf (diff) |
Notes
Diffstat (limited to 'mail')
-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 |