diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-08-27 11:04:24 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-08-27 11:04:24 +0800 |
commit | 72880b9cf2ea94504e6ee38f88824c72a7d39ca4 (patch) | |
tree | 0a6d48093f2886845baa9f523f25206108b5dfcc /mail | |
parent | d68b3195214bca31a9eb098356f5ac73aafbfcd2 (diff) | |
download | freebsd-ports-gnome-72880b9cf2ea94504e6ee38f88824c72a7d39ca4.tar.gz freebsd-ports-gnome-72880b9cf2ea94504e6ee38f88824c72a7d39ca4.tar.zst freebsd-ports-gnome-72880b9cf2ea94504e6ee38f88824c72a7d39ca4.zip |
1: Stagify.
2: add LICENSE.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/osbf-lua/Makefile | 5 | ||||
-rw-r--r-- | mail/osbf-lua/files/patch-Makefile | 24 |
2 files changed, 27 insertions, 2 deletions
diff --git a/mail/osbf-lua/Makefile b/mail/osbf-lua/Makefile index e95831869b38..438259e744f5 100644 --- a/mail/osbf-lua/Makefile +++ b/mail/osbf-lua/Makefile @@ -6,9 +6,11 @@ PORTVERSION= 2.0.4 CATEGORIES= mail MASTER_SITES= http://luaforge.net/frs/download.php/2094/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= This tool is used as classifier for mails, primarily as Anti Spam +LICENSE= GPLv2 + USES= gmake lua:51 USE_LDCONFIG= YES ALL_TARGET= @@ -18,7 +20,6 @@ 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} diff --git a/mail/osbf-lua/files/patch-Makefile b/mail/osbf-lua/files/patch-Makefile new file mode 100644 index 000000000000..62935525a07f --- /dev/null +++ b/mail/osbf-lua/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig 2007-01-15 02:57:19.000000000 +0800 ++++ Makefile 2014-08-27 10:57:44.239551223 +0800 +@@ -19,15 +19,15 @@ $(LIBNAME): $(OBJS) + $(CC) $(CFLAGS) $(LIB_OPTION) -o $(LIBNAME) $(OBJS) $(LIBS) + + install: $(LIBNAME) +- mkdir -p $(LUA_LIBDIR) ++ mkdir -p $(DESTDIR)$(LUA_LIBDIR) + strip $(LIBNAME) +- cp $(LIBNAME) $(LUA_LIBDIR) +- (cd $(LUA_LIBDIR) ; rm -f $T$(LIB_EXT) ; ln -fs $(LIBNAME) $T$(LIB_EXT)) ++ cp $(LIBNAME) $(DESTDIR)$(LUA_LIBDIR) ++ (cd $(DESTDIR)$(LUA_LIBDIR) ; rm -f $T$(LIB_EXT) ; ln -fs $(LIBNAME) $T$(LIB_EXT)) + + install_spamfilter: +- mkdir -p $(SPAMFILTER_DIR) +- cp spamfilter/* $(SPAMFILTER_DIR) +- chmod 755 $(SPAMFILTER_DIR)/*.lua ++ mkdir -p $(DESTDIR)$(SPAMFILTER_DIR) ++ cp spamfilter/* $(DESTDIR)$(SPAMFILTER_DIR) ++ chmod 755 $(DESTDIR)$(SPAMFILTER_DIR)/*.lua + + clean: + rm -f $L $(LIBNAME) $(OBJS) *.so *~ spamfilter/*~ |