summaryrefslogtreecommitdiff
path: root/mail/gld
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /mail/gld
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'mail/gld')
-rw-r--r--mail/gld/Makefile4
-rw-r--r--mail/gld/distinfo4
-rw-r--r--mail/gld/patches/patch-aa20
3 files changed, 15 insertions, 13 deletions
diff --git a/mail/gld/Makefile b/mail/gld/Makefile
index 04e14e40030..92c09dabc1b 100644
--- a/mail/gld/Makefile
+++ b/mail/gld/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2007/07/04 20:54:43 jlam Exp $
+# $NetBSD: Makefile,v 1.24 2008/06/20 01:09:23 joerg Exp $
#
DISTNAME= gld-1.7
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gasmi.net/
COMMENT= Standalone greylisting server for Postfix
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
LDFLAGS.SunOS+= -lsocket -lnsl -lresolv
diff --git a/mail/gld/distinfo b/mail/gld/distinfo
index 3f36fd4a769..3706abb8bf0 100644
--- a/mail/gld/distinfo
+++ b/mail/gld/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.14 2007/04/18 17:06:16 ghen Exp $
+$NetBSD: distinfo,v 1.15 2008/06/20 01:09:23 joerg Exp $
SHA1 (gld-1.7.tgz) = e3a792f6992d063e9d93ce4183f821d78f6cb29f
RMD160 (gld-1.7.tgz) = 0e8190a668ecd88e19c22aa1f80d9a442d1101cf
Size (gld-1.7.tgz) = 40241 bytes
-SHA1 (patch-aa) = 2dcd261ff37dc6ab8343060ad711d98427d10d7f
+SHA1 (patch-aa) = c94085c1fd55c6147bea633313195ce50d190249
SHA1 (patch-ab) = 9622bd744acd326a679e9c25007bffff9241dd2e
SHA1 (patch-ac) = 876f896412a48d18c0ca314af59f82b4c9d915e2
SHA1 (patch-ad) = 5699aeb5a3f423e3dc401a7b83f52e982336beb9
diff --git a/mail/gld/patches/patch-aa b/mail/gld/patches/patch-aa
index 31679078b1f..856aca3d579 100644
--- a/mail/gld/patches/patch-aa
+++ b/mail/gld/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.7 2006/03/02 21:03:39 wiz Exp $
+$NetBSD: patch-aa,v 1.8 2008/06/20 01:09:23 joerg Exp $
--- Makefile.in.orig 2004-10-12 14:41:49.000000000 +0200
+++ Makefile.in
@@ -22,15 +22,15 @@ $NetBSD: patch-aa,v 1.7 2006/03/02 21:03:39 wiz Exp $
- chmod 700 /usr/local/bin/gld
- cp gld.conf /etc/gld.conf.sample
- chmod 600 /etc/gld.conf.sample
-+ $(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/bin
-+ $(BSD_INSTALL_PROGRAM) gld $(PREFIX)/bin
-+ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/examples/gld
-+ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/gld
-+ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/doc/gld
-+ $(BSD_INSTALL_DATA) gld.conf $(PREFIX)/share/examples/gld
-+ $(BSD_INSTALL_DATA) table-whitelist.sql $(PREFIX)/share/gld
-+ $(BSD_INSTALL_DATA) tables.* $(PREFIX)/share/gld
-+ $(BSD_INSTALL_DATA) README LICENCE $(PREFIX)/share/doc/gld
++ $(BSD_INSTALL_PROGRAM_DIR) ${DESTDIR}$(PREFIX)/bin
++ $(BSD_INSTALL_PROGRAM) gld ${DESTDIR}$(PREFIX)/bin
++ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(PREFIX)/share/examples/gld
++ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(PREFIX)/share/gld
++ $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(PREFIX)/share/doc/gld
++ $(BSD_INSTALL_DATA) gld.conf ${DESTDIR}$(PREFIX)/share/examples/gld
++ $(BSD_INSTALL_DATA) table-whitelist.sql ${DESTDIR}$(PREFIX)/share/gld
++ $(BSD_INSTALL_DATA) tables.* ${DESTDIR}$(PREFIX)/share/gld
++ $(BSD_INSTALL_DATA) README LICENCE ${DESTDIR}$(PREFIX)/share/doc/gld
distclean: clean
rm -f Makefile config.status config.log config.cache