pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/wm2 DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ca0c4db9feb
branches:  trunk
changeset: 546837:3ca0c4db9feb
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Sep 08 09:41:40 2008 +0000

description:
DESTDIR support.

diffstat:

 wm/wm2/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r d30bf74db511 -r 3ca0c4db9feb wm/wm2/Makefile
--- a/wm/wm2/Makefile   Mon Sep 08 09:12:25 2008 +0000
+++ b/wm/wm2/Makefile   Mon Sep 08 09:41:40 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/02/02 15:13:03 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2008/09/08 09:41:40 dholland Exp $
 
 DISTNAME=      wm2-4
 PKGNAME=       wm2-4.0
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.all-day-breakfast.com/wm2/
 COMMENT=       Minimalist window manager for X
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_TARGET=  depend wm2
 
 USE_TOOLS+=    makedepend
@@ -20,8 +22,8 @@
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/cat1
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/wm2 ${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${PKGMANDIR}/cat1/wm2.0
+       ${INSTALL_PROGRAM} ${WRKSRC}/wm2 ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/wm2.0
 
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"



Home | Main Index | Thread Index | Old Index