blob: 133ba6ac4701782a043d36537168c06892f81495 (
plain)
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
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.8 2013/02/01 22:25:26 wiz Exp $
#
DISTNAME= osbf-lua-2.0.4
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://luaforge.net/frs/download.php/2094/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://osbf-lua.luaforge.net/
COMMENT= Lua C module for text classification
LICENSE= gnu-gpl-v2
PREV_PKGPATH= mail/lua-OSBF
USE_TOOLS+= gmake
INSTALL_TARGET= install install_spamfilter
SUBST_CLASSES+= path
SUBST_STAGE.path= post-patch
SUBST_MESSAGE.path= Fixing paths in config
SUBST_FILES.path= config
SUBST_FILES.path+= spamfilter/cache_report.lua
SUBST_FILES.path+= spamfilter/classify.sample
SUBST_FILES.path+= spamfilter/create_databases.lua
SUBST_FILES.path+= spamfilter/database_status.lua
SUBST_FILES.path+= spamfilter/getopt.lua
SUBST_FILES.path+= spamfilter/promailrc.sample
SUBST_FILES.path+= spamfilter/random.lua
SUBST_FILES.path+= spamfilter/roc.lua
SUBST_FILES.path+= spamfilter/spamfilter.lua
SUBST_FILES.path+= spamfilter/spamfilter_commands.lua
SUBST_FILES.path+= spamfilter/toer.lua
SUBST_FILES.path+= spamfilter/train.sample
SUBST_FILES.path+= docs/index.html
SUBST_SED.path= -e 's,/usr/local,${PREFIX},g'
.include "../../lang/lua/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|