summaryrefslogtreecommitdiff
path: root/mail/dot-forward
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2010-03-15 17:28:10 +0000
committerschmonz <schmonz@pkgsrc.org>2010-03-15 17:28:10 +0000
commit1639afb31aaf003a4b11d65c02b8cccb27c6f8b4 (patch)
tree0774357fb6bdaebccbcaf2e982cc260fcdf2647b /mail/dot-forward
parent69d933a3b14021c46a3e96090d87d38b79ef8783 (diff)
downloadpkgsrc-1639afb31aaf003a4b11d65c02b8cccb27c6f8b4.tar.gz
DESTDIR support.
Diffstat (limited to 'mail/dot-forward')
-rw-r--r--mail/dot-forward/Makefile4
-rw-r--r--mail/dot-forward/distinfo3
-rw-r--r--mail/dot-forward/patches/patch-aa43
3 files changed, 48 insertions, 2 deletions
diff --git a/mail/dot-forward/Makefile b/mail/dot-forward/Makefile
index 6f0c82ee405..ab77dd15445 100644
--- a/mail/dot-forward/Makefile
+++ b/mail/dot-forward/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2009/05/19 09:07:13 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2010/03/15 17:28:10 schmonz Exp $
#
DISTNAME= dot-forward-0.71
@@ -11,6 +11,8 @@ HOMEPAGE= http://cr.yp.to/dot-forward.html
COMMENT= Reads sendmail's .forward files under qmail
LICENSE= public-domain
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= qmail>=1.03nb7:../../mail/qmail
USE_TOOLS+= nroff
diff --git a/mail/dot-forward/distinfo b/mail/dot-forward/distinfo
index 57ae0ed54c1..d30a1ffdef5 100644
--- a/mail/dot-forward/distinfo
+++ b/mail/dot-forward/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 09:59:21 agc Exp $
+$NetBSD: distinfo,v 1.3 2010/03/15 17:28:10 schmonz Exp $
SHA1 (dot-forward-0.71.tar.gz) = 2adacc13bb43fcf7ae13d3fbeaadd2649ff91137
RMD160 (dot-forward-0.71.tar.gz) = 1e5fd7558296cf213274e6e80944ba26fed74c79
Size (dot-forward-0.71.tar.gz) = 26352 bytes
+SHA1 (patch-aa) = ae2cd9f340d25f721203c65505e3a5426d295313
diff --git a/mail/dot-forward/patches/patch-aa b/mail/dot-forward/patches/patch-aa
new file mode 100644
index 00000000000..f49dbc97454
--- /dev/null
+++ b/mail/dot-forward/patches/patch-aa
@@ -0,0 +1,43 @@
+$NetBSD: patch-aa,v 1.1 2010/03/15 17:28:10 schmonz Exp $
+
+--- Makefile.orig 1998-05-19 10:15:50.000000000 +0000
++++ Makefile
+@@ -31,6 +31,14 @@ auto-str.o: \
+ compile auto-str.c substdio.h readwrite.h exit.h
+ ./compile auto-str.c
+
++auto_destdir.c: \
++auto-str conf-destdir
++ ./auto-str auto_qmail `head -1 conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++ ./compile auto_destdir.c
++
+ auto_qmail.c: \
+ auto-str conf-qmail
+ ./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
+@@ -181,9 +189,9 @@ compile hier.c auto_qmail.h
+ ./compile hier.c
+
+ install: \
+-load install.o hier.o auto_qmail.o strerr.a substdio.a error.a open.a \
++load install.o hier.o auto_destdir.o strerr.a substdio.a error.a open.a \
+ str.a
+- ./load install hier.o auto_qmail.o strerr.a substdio.a \
++ ./load install hier.o auto_destdir.o strerr.a substdio.a \
+ error.a open.a str.a
+
+ install.o: \
+@@ -192,9 +200,9 @@ exit.h
+ ./compile install.c
+
+ instcheck: \
+-load instcheck.o hier.o auto_qmail.o strerr.a substdio.a error.a \
++load instcheck.o hier.o auto_destdir.o strerr.a substdio.a error.a \
+ str.a
+- ./load instcheck hier.o auto_qmail.o strerr.a substdio.a \
++ ./load instcheck hier.o auto_destdir.o strerr.a substdio.a \
+ error.a str.a
+
+ instcheck.o: \