summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoralnsn <alnsn@pkgsrc.org>2014-05-03 13:01:24 +0000
committeralnsn <alnsn@pkgsrc.org>2014-05-03 13:01:24 +0000
commited3adf4991e7fc83fcfb504b3ec7a107733224d2 (patch)
tree598ae5219ae90971f1f238593564c55107920a28 /mail
parentda499f3dfeb25e7fe783f8ed7744f37e674f9f78 (diff)
downloadpkgsrc-ed3adf4991e7fc83fcfb504b3ec7a107733224d2.tar.gz
Adapt to Lua multiversion support.
Diffstat (limited to 'mail')
-rw-r--r--mail/OSBF-lua/Makefile29
1 files changed, 16 insertions, 13 deletions
diff --git a/mail/OSBF-lua/Makefile b/mail/OSBF-lua/Makefile
index a9ae0217d6e..564566d4266 100644
--- a/mail/OSBF-lua/Makefile
+++ b/mail/OSBF-lua/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2013/10/30 06:49:54 dholland Exp $
+# $NetBSD: Makefile,v 1.12 2014/05/03 13:01:24 alnsn Exp $
#
DISTNAME= osbf-lua-2.0.4
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= mail
MASTER_SITES= http://luaforge.net/frs/download.php/2094/
@@ -21,21 +21,24 @@ 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'
SUBST_SED.path+= -e 's,lib/lua/5.1,lib/lua/5.2,g'
+REPLACE_LUA+= spamfilter/cache_report.lua
+REPLACE_LUA+= spamfilter/classify.sample
+REPLACE_LUA+= spamfilter/create_databases.lua
+REPLACE_LUA+= spamfilter/database_status.lua
+REPLACE_LUA+= spamfilter/getopt.lua
+REPLACE_LUA+= spamfilter/random.lua
+REPLACE_LUA+= spamfilter/roc.lua
+REPLACE_LUA+= spamfilter/spamfilter.lua
+REPLACE_LUA+= spamfilter/spamfilter_commands.lua
+REPLACE_LUA+= spamfilter/toer.lua
+REPLACE_LUA+= spamfilter/train.sample
+
+.include "../../lang/lua/application.mk"
+
.include "../../lang/lua/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"