pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/xlife Support staged installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47b1275ae848
branches:  trunk
changeset: 568406:47b1275ae848
user:      asau <asau%pkgsrc.org@localhost>
date:      Sat Dec 12 19:19:00 2009 +0000

description:
Support staged installation.

diffstat:

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

diffs (30 lines):

diff -r 71e7a72a9eb8 -r 47b1275ae848 math/xlife/Makefile
--- a/math/xlife/Makefile       Sat Dec 12 18:12:24 2009 +0000
+++ b/math/xlife/Makefile       Sat Dec 12 19:19:00 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/12/12 20:42:34 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2009/12/12 19:19:00 asau Exp $
 #
 
 DISTNAME=      xlife-5.0
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.catb.org/~esr/software.html
 COMMENT=       John Horton Conway's "Game of Life"
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 WRKSRC=                ${WRKDIR}
 USE_IMAKE=     yes
 
@@ -18,9 +20,9 @@
 
 post-install:
 .for d in codd life misc wireworld
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/xlife/${d}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/xlife/${d}
        cd ${WRKSRC}/${d}; for l in *.l; do                             \
-               ${INSTALL_DATA} $${l} ${PREFIX}/share/xlife/${d};       \
+               ${INSTALL_DATA} $${l} ${DESTDIR}${PREFIX}/share/xlife/${d};     \
        done
 .endfor
 



Home | Main Index | Thread Index | Old Index