diff options
author | schmonz <schmonz@pkgsrc.org> | 2010-03-15 17:28:10 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2010-03-15 17:28:10 +0000 |
commit | 1639afb31aaf003a4b11d65c02b8cccb27c6f8b4 (patch) | |
tree | 0774357fb6bdaebccbcaf2e982cc260fcdf2647b /mail/serialmail | |
parent | 69d933a3b14021c46a3e96090d87d38b79ef8783 (diff) | |
download | pkgsrc-1639afb31aaf003a4b11d65c02b8cccb27c6f8b4.tar.gz |
DESTDIR support.
Diffstat (limited to 'mail/serialmail')
-rw-r--r-- | mail/serialmail/Makefile | 5 | ||||
-rw-r--r-- | mail/serialmail/distinfo | 3 | ||||
-rw-r--r-- | mail/serialmail/patches/patch-ac | 42 |
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: \ |