pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2fc37c2814a1
branches: trunk
changeset: 554222:2fc37c2814a1
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Feb 10 17:22:20 2009 +0000
description:
DESTDIR support.
diffstat:
mail/newmail/Makefile | 6 +++++-
mail/newmail/distinfo | 3 ++-
mail/newmail/patches/patch-ab | 12 ++++++++++++
net/fping/Makefile | 7 ++++---
4 files changed, 23 insertions(+), 5 deletions(-)
diffs (71 lines):
diff -r 0874194e26bd -r 2fc37c2814a1 mail/newmail/Makefile
--- a/mail/newmail/Makefile Tue Feb 10 17:18:43 2009 +0000
+++ b/mail/newmail/Makefile Tue Feb 10 17:22:20 2009 +0000
@@ -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 @@
MAINTAINER= andrew%ugh.net.au@localhost
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 -r 0874194e26bd -r 2fc37c2814a1 mail/newmail/distinfo
--- a/mail/newmail/distinfo Tue Feb 10 17:18:43 2009 +0000
+++ b/mail/newmail/distinfo Tue Feb 10 17:22:20 2009 +0000
@@ -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 -r 0874194e26bd -r 2fc37c2814a1 mail/newmail/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/newmail/patches/patch-ab Tue Feb 10 17:22:20 2009 +0000
@@ -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
diff -r 0874194e26bd -r 2fc37c2814a1 net/fping/Makefile
--- a/net/fping/Makefile Tue Feb 10 17:18:43 2009 +0000
+++ b/net/fping/Makefile Tue Feb 10 17:22:20 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/06/17 04:49:47 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2009/02/10 17:26:05 joerg Exp $
DISTNAME= fping-2.4b2_to
PKGNAME= fping-2.4b2
@@ -10,9 +10,10 @@
HOMEPAGE= http://www.fping.com/
COMMENT= Quickly ping many hosts w/o flooding the network
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
-post-install:
- ${CHMOD} 4555 ${PREFIX}/sbin/fping
+SPECIAL_PERMS+= sbin/fping ${SETUID_ROOT_PERMS}
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index