mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
c71ee02f2e
pending PR (related to stage) With hat: portmgr
35 lines
768 B
Makefile
35 lines
768 B
Makefile
# Created by: RicardoSSP <ricardo.katz@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= osbf-lua
|
|
PORTVERSION= 2.0.4
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/2094/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= This tool is used as classifier for mails, primarily as Anti Spam
|
|
|
|
USES= gmake lua:51
|
|
USE_LDCONFIG= YES
|
|
ALL_TARGET=
|
|
INSTALL_TARGET= install
|
|
|
|
OPTIONS_DEFINE= SPAMFILTER_PLUGIN
|
|
OPTIONS_DEFAULT= SPAMFILTER_PLUGIN
|
|
SPAMFILTER_PLUGIN_DESC= OSBF Spamfilter Plugin
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSPAMFILTER_PLUGIN}
|
|
INSTALL_TARGET+= install_spamfilter
|
|
PLIST_SUB+= SPAMFILTER=""
|
|
.else
|
|
PLIST_SUB+= SPAMFILTER="@comment "
|
|
.endif
|
|
|
|
post-patch: .SILENT
|
|
${REINPLACE_CMD} '/^CC/s/=/?=/' ${WRKSRC}/config
|
|
|
|
.include <bsd.port.mk>
|