aboutsummaryrefslogtreecommitdiff
path: root/mail/osbf-lua/Makefile
blob: 0524dccbdd878f4de63b84fb3069ff2fdc6e7623 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    osbf-lua
# Date created:         2009-01-14
# Whom:                 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=	ricardo.katz@gmail.com
COMMENT=	This tool is used as classifier for mails, primarly as Anti Spam

USE_GMAKE=	YES
USE_LDCONFIG=	YES
USE_LUA=	5.1+
ALL_TARGET=
INSTALL_TARGET=	install

OPTIONS=	SPAMFILTER_PLUGIN "OSBF Spamfilter Plugin" on

.include <bsd.port.pre.mk>

.if defined(WITH_SPAMFILTER_PLUGIN)
INSTALL_TARGET+=	install_spamfilter
PLIST_SUB+=		SPAMFILTER=""
.else
PLIST_SUB+=		SPAMFILTER="@comment "
.endif

.include <bsd.port.post.mk>