pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/pim6sd DESTDIR support and fix for newer NetBSD.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ff0979704ac
branches:  trunk
changeset: 554434:6ff0979704ac
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Feb 14 17:57:18 2009 +0000

description:
DESTDIR support and fix for newer NetBSD.

diffstat:

 net/pim6sd/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r fbd23711772d -r 6ff0979704ac net/pim6sd/Makefile
--- a/net/pim6sd/Makefile       Sat Feb 14 17:54:55 2009 +0000
+++ b/net/pim6sd/Makefile       Sat Feb 14 17:57:18 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/10/11 19:48:11 is Exp $
+# $NetBSD: Makefile,v 1.19 2009/02/14 17:57:18 joerg Exp $
 
 DISTNAME=      pim6sd-20031021a
 PKGREVISION=   1
@@ -8,6 +8,10 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       IPv6 PIM sparse mode daemon
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_BSD_MAKEFILE=      yes
+
 WRKSRC=                ${WRKDIR}/${DISTNAME}/pim6sd/
 USE_TOOLS+=    lex yacc
 
@@ -17,7 +21,7 @@
 CONFLICTS=     mcast-tools-*
 
 post-install:
-       ${INSTALL_MAN} ${WRKSRC}/pim6stat.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/pim6stat.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.pim6sd
 PKG_OPTIONS_REQUIRED_GROUPS=   inet6 # require inet6 capability



Home | Main Index | Thread Index | Old Index