summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/wmSMPmon/Makefile10
-rw-r--r--sysutils/xbatt/Makefile10
-rw-r--r--sysutils/xenvstat/Makefile8
3 files changed, 18 insertions, 10 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"
diff --git a/sysutils/xbatt/Makefile b/sysutils/xbatt/Makefile
index d2400e55f0f..297e62f840a 100644
--- a/sysutils/xbatt/Makefile
+++ b/sysutils/xbatt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2009/06/12 22:04:53 zafer Exp $
+# $NetBSD: Makefile,v 1.27 2010/01/27 20:44:47 joerg Exp $
#
DISTNAME= xbatt-1.3pr1
@@ -11,6 +11,8 @@ MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.clave.gr.jp/~eto/xbatt/ # Not really
COMMENT= Displays battery status of your notebook via APM
+PKG_DESTDIR_SUPPORT= destdir
+
.if !exists(/usr/include/machine/apmvar.h)
PKG_SKIP_REASON+= "APM is not available for ${MACHINE_PLATFORM}"
.endif
@@ -22,9 +24,9 @@ BUILD_TARGET= xbatt
INSTALLATION_DIRS= lib/X11/app-defaults share/doc/xbatt
post-install:
- ${INSTALL_DATA} ${FILESDIR}/XBatt ${PREFIX}/lib/X11/app-defaults/XBatt
- ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/xbatt
- ${INSTALL_MAN} ${WRKSRC}/README.jp ${PREFIX}/share/doc/xbatt
+ ${INSTALL_DATA} ${FILESDIR}/XBatt ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XBatt
+ ${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xbatt
+ ${INSTALL_MAN} ${WRKSRC}/README.jp ${DESTDIR}${PREFIX}/share/doc/xbatt
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
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"