summaryrefslogtreecommitdiff
path: root/sysutils/tload
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 20:19:36 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 20:19:36 +0000
commit84ac22cddf689207bab11408d7d7f9a0e909f8b6 (patch)
tree4b501686cace75cca77135cd1554daf59bf7559a /sysutils/tload
parent9dd6ba758eeb9d583568032b5a52345af721c0c6 (diff)
downloadpkgsrc-84ac22cddf689207bab11408d7d7f9a0e909f8b6.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/tload')
-rw-r--r--sysutils/tload/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/tload/Makefile b/sysutils/tload/Makefile
index da03306abff..ed138847ca9 100644
--- a/sysutils/tload/Makefile
+++ b/sysutils/tload/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/01/07 09:14:13 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2010/01/27 20:20:53 joerg Exp $
#
DISTNAME= procps-2.0.6
@@ -10,6 +10,8 @@ MASTER_SITES= ftp://people.redhat.com/johnsonm/procps/
MAINTAINER= hubertf@NetBSD.org
COMMENT= Terminal version of xload
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-build:
@@ -17,7 +19,7 @@ do-build:
${CC} ${CFLAGS} tload.c -o tload
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tload ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/tload.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/tload ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/tload.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"