aboutsummaryrefslogtreecommitdiffstats
path: root/mail/osbf-lua
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-08 00:53:45 +0800
committermiwi <miwi@FreeBSD.org>2013-03-08 00:53:45 +0800
commit01586cc2cd8a893e9fb607884b766059ae2a287d (patch)
treee492c56fa7379da1ca224d6c3b1e9a31bdf1f7d9 /mail/osbf-lua
parenta526e1d7b60fba52822780fd8712e159d1c7b55c (diff)
downloadfreebsd-ports-gnome-01586cc2cd8a893e9fb607884b766059ae2a287d.tar.gz
freebsd-ports-gnome-01586cc2cd8a893e9fb607884b766059ae2a287d.tar.zst
freebsd-ports-gnome-01586cc2cd8a893e9fb607884b766059ae2a287d.zip
- Convert to OptionsNG
- Trim header Reviewed by: bapt
Diffstat (limited to 'mail/osbf-lua')
-rw-r--r--mail/osbf-lua/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/mail/osbf-lua/Makefile b/mail/osbf-lua/Makefile
index e93522e1aed4..0348dd15f853 100644
--- a/mail/osbf-lua/Makefile
+++ b/mail/osbf-lua/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: osbf-lua
-# Date created: 2009-01-14
-# Whom: RicardoSSP <ricardo.katz@gmail.com>
-#
+# Created by: RicardoSSP <ricardo.katz@gmail.com>
# $FreeBSD$
-#
PORTNAME= osbf-lua
PORTVERSION= 2.0.4
@@ -19,11 +15,13 @@ USE_LUA= 5.1+
ALL_TARGET=
INSTALL_TARGET= install
-OPTIONS= SPAMFILTER_PLUGIN "OSBF Spamfilter Plugin" on
+OPTIONS_DEFINE= SPAMFILTER_PLUGIN
+OPTIONS_DEFAULT= SPAMFILTER_PLUGIN
+SPAMFILTER_PLUGIN_DESC= OSBF Spamfilter Plugin
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_SPAMFILTER_PLUGIN)
+.if ${PORT_OPTIONS:MSPAMFILTER_PLUGIN}
INSTALL_TARGET+= install_spamfilter
PLIST_SUB+= SPAMFILTER=""
.else
@@ -33,4 +31,4 @@ PLIST_SUB+= SPAMFILTER="@comment "
post-patch: .SILENT
${REINPLACE_CMD} '/^CC/s/=/?=/' ${WRKSRC}/config
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>