summaryrefslogtreecommitdiff
path: root/sysutils/wmSMPmon
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 20:41:16 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 20:41:16 +0000
commit13758fb3d171f57c3b5a849dae8bdfbdf55d3d9e (patch)
treecdac5d171ed953a00c4962e790a2c61d6fbf0b7e /sysutils/wmSMPmon
parentd425797ed7b911054951a0b120e061afe1d0ea13 (diff)
downloadpkgsrc-13758fb3d171f57c3b5a849dae8bdfbdf55d3d9e.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/wmSMPmon')
-rw-r--r--sysutils/wmSMPmon/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/wmSMPmon/Makefile b/sysutils/wmSMPmon/Makefile
index e0e9b3af9d7..24bb98cffb1 100644
--- a/sysutils/wmSMPmon/Makefile
+++ b/sysutils/wmSMPmon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/07/03 11:23:16 obache Exp $
+# $NetBSD: Makefile,v 1.10 2010/01/27 20:41:16 joerg Exp $
DISTNAME= wmSMPmon-2.3
PKGREVISION= 1
@@ -9,11 +9,15 @@ MAINTAINER= joel@carnat.net
HOMEPAGE= http://lancre.ribbrock.org/binabit/wmSMPmon/
COMMENT= Dockable CPU (SMP) monitor
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/wmSMPmon-2.x/wmSMPmon
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/wmsmpmon.1 ${PREFIX}/${PKGMANDIR}/man1/wmSMPmon.1
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmSMPmon ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/wmsmpmon.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/wmSMPmon.1
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"