2013-03-07 17:53:45 +01:00
|
|
|
# Created by: RicardoSSP <ricardo.katz@gmail.com>
|
2009-02-01 19:10:25 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= osbf-lua
|
|
|
|
PORTVERSION= 2.0.4
|
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/2094/
|
|
|
|
|
2014-08-27 05:04:24 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-07-29 13:17:02 +02:00
|
|
|
COMMENT= This tool is used as classifier for mails, primarily as Anti Spam
|
2009-02-01 19:10:25 +01:00
|
|
|
|
2014-08-27 05:04:24 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-05-26 17:28:28 +02:00
|
|
|
USES= gmake lua:51
|
2009-02-01 19:10:25 +01:00
|
|
|
USE_LDCONFIG= YES
|
|
|
|
ALL_TARGET=
|
|
|
|
INSTALL_TARGET= install
|
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
OPTIONS_DEFINE= SPAMFILTER_PLUGIN
|
|
|
|
OPTIONS_DEFAULT= SPAMFILTER_PLUGIN
|
|
|
|
SPAMFILTER_PLUGIN_DESC= OSBF Spamfilter Plugin
|
2009-02-01 19:10:25 +01:00
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2009-02-01 19:10:25 +01:00
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
.if ${PORT_OPTIONS:MSPAMFILTER_PLUGIN}
|
2009-02-01 19:10:25 +01:00
|
|
|
INSTALL_TARGET+= install_spamfilter
|
|
|
|
PLIST_SUB+= SPAMFILTER=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SPAMFILTER="@comment "
|
|
|
|
.endif
|
|
|
|
|
2011-11-28 12:46:20 +01:00
|
|
|
post-patch: .SILENT
|
|
|
|
${REINPLACE_CMD} '/^CC/s/=/?=/' ${WRKSRC}/config
|
|
|
|
|
2013-03-07 17:53:45 +01:00
|
|
|
.include <bsd.port.mk>
|