diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-10 17:22:20 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-10 17:22:20 +0000 |
commit | c6716db49ca31a54cea2d357a37baf31ef419e3e (patch) | |
tree | d9a146cce1a988dad14aa3e058ca592a5f674b29 /mail/newmail | |
parent | 41cb515c37bc57fce145446330e7fa05c2c04e56 (diff) | |
download | pkgsrc-c6716db49ca31a54cea2d357a37baf31ef419e3e.tar.gz |
DESTDIR support.
Diffstat (limited to 'mail/newmail')
-rw-r--r-- | mail/newmail/Makefile | 6 | ||||
-rw-r--r-- | mail/newmail/distinfo | 3 | ||||
-rw-r--r-- | mail/newmail/patches/patch-ab | 12 |
3 files changed, 19 insertions, 2 deletions
diff --git a/mail/newmail/Makefile b/mail/newmail/Makefile index 78ee1068f0e..bf54c22b76b 100644 --- a/mail/newmail/Makefile +++ b/mail/newmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2005/11/07 20:31:56 tv Exp $ +# $NetBSD: Makefile,v 1.9 2009/02/10 17:22:20 joerg Exp $ DISTNAME= newmail-1.0.1 CATEGORIES= mail @@ -7,7 +7,11 @@ MASTER_SITES= ftp://ftp.ugh.net.au/pub/unix/newmail/ MAINTAINER= andrew@ugh.net.au COMMENT= Program to check multiple local mailboxes for new mail +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/newmail +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 + .include "../../devel/sysexits/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/newmail/distinfo b/mail/newmail/distinfo index 622d666513a..826c96ef2d8 100644 --- a/mail/newmail/distinfo +++ b/mail/newmail/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2006/01/24 19:08:09 joerg Exp $ +$NetBSD: distinfo,v 1.5 2009/02/10 17:22:20 joerg Exp $ SHA1 (newmail-1.0.1.tar.gz) = 031387e2ba10e5e4ba801dab25d86fce3b55e02c RMD160 (newmail-1.0.1.tar.gz) = 411e94b61909400a580fbad887f1ad730738679e Size (newmail-1.0.1.tar.gz) = 3476 bytes SHA1 (patch-aa) = 3d81434a8d98390df7964cc701c83496791de267 +SHA1 (patch-ab) = da5a2a0608986c074c5ed02e6fc6742c3747c0c7 diff --git a/mail/newmail/patches/patch-ab b/mail/newmail/patches/patch-ab new file mode 100644 index 00000000000..6b62b4a7291 --- /dev/null +++ b/mail/newmail/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2009/02/10 17:22:20 joerg Exp $ + +--- Makefile.orig 2009-02-10 18:20:22.000000000 +0100 ++++ Makefile +@@ -14,5 +14,5 @@ clean: + -rm -f ${PROG} ${OBJS} a.out *.core core + + install: ${PROG} +- install -s -m 555 ${PROG} ${PREFIX}/bin +- install -c -m 444 ${PROG}.1 ${PREFIX}/man/man1 ++ ${BSD_INSTALL_PROGRAM} ${PROG} ${DESTDIR}${PREFIX}/bin ++ ${BSD_INSTALL_MAN} ${PROG}.1 ${DESTDIR}${PREFIX}/man/man1 |