diff options
author | asau <asau@pkgsrc.org> | 2009-12-12 19:19:00 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2009-12-12 19:19:00 +0000 |
commit | e4ee5702067cf1ca2006ecb8feebd0e09581c00f (patch) | |
tree | 3005ed70cd4ffbc83689fefaea15aef71c9aa5b8 /math | |
parent | 54f0e95ca7d60944bc88433cff8ff80390ff55e7 (diff) | |
download | pkgsrc-e4ee5702067cf1ca2006ecb8feebd0e09581c00f.tar.gz |
Support staged installation.
Diffstat (limited to 'math')
-rw-r--r-- | math/xlife/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/math/xlife/Makefile b/math/xlife/Makefile index 7c03eca23d2..56299d6d75b 100644 --- a/math/xlife/Makefile +++ b/math/xlife/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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 @@ pre-build: 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 |