pkgsrc/mail/sqlgrey/patches/patch-aa
ghen 2dc3f515fa Import sqlgrey-1.6.8 package as requested by Petr Janda on pkgsrc-users list.
SQLgrey is a postfix policy service implementing a greylisting policy.  It is
written in Perl and uses DBI to access an SQL database.  Its goal is reducing
the SPAM reaching user mailboxes.
2007-11-13 16:43:04 +00:00

29 lines
804 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2007/11/13 16:43:04 ghen Exp $
--- Makefile.orig 2005-06-07 02:28:38.000000000 +0200
+++ Makefile
@@ -1,10 +1,8 @@
INSTALL = install
-ETCDIR = $(ROOTDIR)/etc
-CONFDIR = $(ETCDIR)/sqlgrey
-SBINDIR = $(ROOTDIR)/usr/sbin
-BINDIR = $(ROOTDIR)/usr/bin
-INITDIR = $(ETCDIR)/init.d
-MANDIR = $(ROOTDIR)/usr/share/man/man1
+CONFDIR = $(EGDIR)
+SBINDIR = $(PREFIX)/sbin
+BINDIR = $(PREFIX)/bin
+MANDIR = $(PREFIX)/$(PKGMANDIR)/man1
VERSION := $(shell cat VERSION)
TBZ2 = sqlgrey-$(VERSION).tar.bz2
@@ -30,9 +28,7 @@ clean:
install: all
$(INSTALL) -d -m 755 $(SBINDIR)
- $(INSTALL) -d -m 755 $(ETCDIR)
$(INSTALL) -d -m 755 $(CONFDIR)
- $(INSTALL) -d -m 755 $(INITDIR)
$(INSTALL) -d -m 755 $(MANDIR)
$(INSTALL) -d -m 755 $(BINDIR)
$(INSTALL) -m 755 sqlgrey $(SBINDIR)