pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/mping DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14f459666895
branches:  trunk
changeset: 554572:14f459666895
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 16 13:17:13 2009 +0000

description:
DESTDIR support.

diffstat:

 net/mping/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 65db92d16e91 -r 14f459666895 net/mping/Makefile
--- a/net/mping/Makefile        Mon Feb 16 13:11:40 2009 +0000
+++ b/net/mping/Makefile        Mon Feb 16 13:17:13 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/01/03 15:52:42 tv Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/16 13:17:13 joerg Exp $
 
 DISTNAME=      mping-2.01
 CATEGORIES=    net
@@ -8,12 +8,14 @@
 HOMEPAGE=      http://mping.uninett.no/
 COMMENT=       Mping network statistics collector
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE=         yes
 INSTALLATION_DIRS=     sbin ${PKGMANDIR}/man8
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/src/mping ${PREFIX}/sbin/mping
-       ${INSTALL_MAN} ${WRKSRC}/man/mping.8 ${PREFIX}/${PKGMANDIR}/man8
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/mping ${DESTDIR}${PREFIX}/sbin/mping
+       ${INSTALL_MAN} ${WRKSRC}/man/mping.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.mping
 PKG_OPTIONS_REQUIRED_GROUPS=   inet6 # require inet6 capability



Home | Main Index | Thread Index | Old Index