aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-06-15 05:40:02 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-06-15 05:40:02 +0800
commitb671efa1cf7ba39e287ff6158d512aa79e641388 (patch)
treefb3f9f27cd8904547da47a970812a2916d68b039 /mail
parenta84a6b0f65935b8d4fbbededaea743db48e1dea6 (diff)
downloadfreebsd-ports-gnome-b671efa1cf7ba39e287ff6158d512aa79e641388.tar.gz
freebsd-ports-gnome-b671efa1cf7ba39e287ff6158d512aa79e641388.tar.zst
freebsd-ports-gnome-b671efa1cf7ba39e287ff6158d512aa79e641388.zip
- Use new options helpers
- Add missing DEBUG_EXCESSIVE_DESC
Diffstat (limited to 'mail')
-rw-r--r--mail/spamdyke/Makefile23
1 files changed, 5 insertions, 18 deletions
diff --git a/mail/spamdyke/Makefile b/mail/spamdyke/Makefile
index 6baab7fa6a91..3b593f4d63d8 100644
--- a/mail/spamdyke/Makefile
+++ b/mail/spamdyke/Makefile
@@ -25,26 +25,13 @@ USE_GCC= any
OPTIONS_DEFINE= TLS DEBUG DEBUG_EXCESSIVE DOCS
OPTIONS_DEFAULT= TLS
DEBUG_DESC= Enable debugging output
+DEBUG_EXCESSIVE_DESC= Enable excessive debugging output
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MTLS}
-CONFIGURE_ARGS+= --enable-tls
-.else
-CONFIGURE_ARGS+= --disable-tls
-.endif
+TLS_CONFIGURE_ENABLE= tls
+DEBUG_CONFIGURE_ENABLE= debug-output
+DEBUG_EXCESSIVE_CONFIGURE_ENABLE= excessive-output
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+= --with-debug-output
-.else
-CONFIGURE_ARGS+= --without-debug-output
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG_EXCESSIVE}
-CONFIGURE_ARGS+= --with-excessive-output
-.else
-CONFIGURE_ARGS+= --without-excessive-output
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \