summaryrefslogtreecommitdiff
path: root/mail/serialmail
diff options
context:
space:
mode:
authorschmonz <schmonz>2010-03-15 17:28:10 +0000
committerschmonz <schmonz>2010-03-15 17:28:10 +0000
commitecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0 (patch)
tree0774357fb6bdaebccbcaf2e982cc260fcdf2647b /mail/serialmail
parentbb99a428f53ad113bdb5c9f1e19c53101f661806 (diff)
downloadpkgsrc-ecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0.tar.gz
DESTDIR support.
Diffstat (limited to 'mail/serialmail')
-rw-r--r--mail/serialmail/Makefile5
-rw-r--r--mail/serialmail/distinfo3
-rw-r--r--mail/serialmail/patches/patch-ac42
3 files changed, 48 insertions, 2 deletions
diff --git a/mail/serialmail/Makefile b/mail/serialmail/Makefile
index 447fb523360..7c5e171a48a 100644
--- a/mail/serialmail/Makefile
+++ b/mail/serialmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/07/30 10:54:10 schmonz Exp $
+# $NetBSD: Makefile,v 1.5 2010/03/15 17:31:29 schmonz Exp $
#
DISTNAME= serialmail-0.75
@@ -10,9 +10,12 @@ MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://cr.yp.to/serialmail.html
COMMENT= Tools for passing mail across serial links
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= qmail>=1.03nb7:../../mail/qmail
USE_TOOLS+= nroff
+INSTALLATION_DIRS= share/doc/${PKGBASE}
# We change conf-home from the default "/usr/local" and don't
# provide compatibility symlinks. We also patch to install docs
diff --git a/mail/serialmail/distinfo b/mail/serialmail/distinfo
index f2eb9c55abc..89476c7b212 100644
--- a/mail/serialmail/distinfo
+++ b/mail/serialmail/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2008/07/30 10:54:10 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2010/03/15 17:31:29 schmonz Exp $
SHA1 (serialmail-0.75.tar.gz) = 76f8d5ae698cff25b3227e51cc99fff1f4a8b137
RMD160 (serialmail-0.75.tar.gz) = 2d12152b9c7d007f76b4d129c2795cd192ba9f83
Size (serialmail-0.75.tar.gz) = 55079 bytes
SHA1 (patch-aa) = 0ccbe27149addddcd839ed71cc07b68d7473100b
SHA1 (patch-ab) = af02dc2acf416ae63f93de08bdafdad80faebc12
+SHA1 (patch-ac) = 7802bf7b955883b274dcb9429e1bf12c34dd6bd9
diff --git a/mail/serialmail/patches/patch-ac b/mail/serialmail/patches/patch-ac
new file mode 100644
index 00000000000..9b891d64fd6
--- /dev/null
+++ b/mail/serialmail/patches/patch-ac
@@ -0,0 +1,42 @@
+$NetBSD: patch-ac,v 1.1 2010/03/15 17:31:29 schmonz Exp $
+
+--- Makefile.orig 1998-11-15 02:28:23.000000000 +0000
++++ Makefile
+@@ -28,6 +28,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_home `head -1 conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++ ./compile auto_destdir.c
++
+ auto_home.c: \
+ auto-str conf-home
+ ./auto-str auto_home `head -1 conf-home` > auto_home.c
+@@ -240,9 +248,9 @@ compile hier.c auto_home.h
+ ./compile hier.c
+
+ install: \
+-load install.o hier.o auto_home.o strerr.a substdio.a open.a error.a \
++load install.o hier.o auto_destdir.o strerr.a substdio.a open.a error.a \
+ str.a
+- ./load install hier.o auto_home.o strerr.a substdio.a \
++ ./load install hier.o auto_destdir.o strerr.a substdio.a \
+ open.a error.a str.a
+
+ install.o: \
+@@ -251,8 +259,8 @@ exit.h
+ ./compile install.c
+
+ instcheck: \
+-load instcheck.o hier.o auto_home.o strerr.a substdio.a error.a str.a
+- ./load instcheck hier.o auto_home.o strerr.a substdio.a \
++load instcheck.o hier.o auto_destdir.o strerr.a substdio.a error.a str.a
++ ./load instcheck hier.o auto_destdir.o strerr.a substdio.a \
+ error.a str.a
+
+ instcheck.o: \