blob: 1f2eceededcb5f1845c3d4f5961293bae9781977 (
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
41
42
|
# $NetBSD: Makefile,v 1.5 2010/02/04 01:46:15 joerg Exp $
#
DISTNAME= osbf-lua-2.0.4
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://luaforge.net/frs/download.php/2094/
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://osbf-lua.luaforge.net/
COMMENT= Lua C module for text classification
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
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"
|