aboutsummaryrefslogtreecommitdiff
path: root/mail/osbf-lua
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-07 16:53:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-07 16:53:45 +0000
commitb7df0651651ef059fd4db24d7b77113e72ad6c15 (patch)
treee492c56fa7379da1ca224d6c3b1e9a31bdf1f7d9 /mail/osbf-lua
parentf391ca611e4a642fc3b0e7df30f4a60b63f60b71 (diff)
downloadports-b7df0651651ef059fd4db24d7b77113e72ad6c15.tar.gz
ports-b7df0651651ef059fd4db24d7b77113e72ad6c15.zip
Notes
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>