summaryrefslogtreecommitdiff
path: root/sysutils/xenvstat
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
commit2ac3dca022062b2444c1b46ad46c7fb45b8efdcb (patch)
treecdac5d171ed953a00c4962e790a2c61d6fbf0b7e /sysutils/xenvstat
parentac6092c44ce453d44f1838729bb4feb64a7adb04 (diff)
downloadpkgsrc-2ac3dca022062b2444c1b46ad46c7fb45b8efdcb.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/xenvstat')
-rw-r--r--sysutils/xenvstat/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/xenvstat/Makefile b/sysutils/xenvstat/Makefile
index 634f8952531..a5be13e3ace 100644
--- a/sysutils/xenvstat/Makefile
+++ b/sysutils/xenvstat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2009/04/09 00:48:17 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2010/01/27 20:46:37 joerg Exp $
DISTNAME= xenvstat-20041127
PKGREVISION= 2
@@ -10,6 +10,8 @@ MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/
COMMENT= X11-based display environmental sensor readings
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM= NetBSD-*-*
NO_CONFIGURE= yes
@@ -26,8 +28,8 @@ do-build:
${WRKSRC}/xenvstat.c ${LIBS}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xenvstat ${PREFIX}/bin/xenvstat
- ${INSTALL_DATA} ${WRKSRC}/Xenvstat ${PREFIX}/lib/X11/app-defaults
+ ${INSTALL_PROGRAM} ${WRKSRC}/xenvstat ${DESTDIR}${PREFIX}/bin/xenvstat
+ ${INSTALL_DATA} ${WRKSRC}/Xenvstat ${DESTDIR}${PREFIX}/lib/X11/app-defaults
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"