summaryrefslogtreecommitdiff
path: root/sysutils/xuvmstat
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 20:57:22 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 20:57:22 +0000
commit5d3baae895009e29ff3b00e7ed3fdb7351ea22b0 (patch)
treebaa46c5da4325acfa660e799f4320eab394382fe /sysutils/xuvmstat
parentb91ba669e7503df4eb317592d5f86d26787be7ec (diff)
downloadpkgsrc-5d3baae895009e29ff3b00e7ed3fdb7351ea22b0.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/xuvmstat')
-rw-r--r--sysutils/xuvmstat/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/xuvmstat/Makefile b/sysutils/xuvmstat/Makefile
index f87511e7c7e..681fa178125 100644
--- a/sysutils/xuvmstat/Makefile
+++ b/sysutils/xuvmstat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/03/25 09:42:28 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2010/01/27 20:58:05 joerg Exp $
#
DISTNAME= ${PKGNAME_NOREV:S/-//}
@@ -10,16 +10,17 @@ MASTER_SITES= http://www.NetBSD.org/~chuck/gz/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Graphical display for the current UVM status
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM= NetBSD-*-*
WRKSRC= ${WRKDIR}/xuvmstat
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin share/doc/xuvmstat
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xuvmstat ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xuvmstat
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/xuvmstat
+ ${INSTALL_PROGRAM} ${WRKSRC}/xuvmstat ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/xuvmstat
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"