diff options
author | asau <asau> | 2009-12-12 19:19:00 +0000 |
---|---|---|
committer | asau <asau> | 2009-12-12 19:19:00 +0000 |
commit | 4aa519cff9dc011eb3e4230d38154cbce4901a3d (patch) | |
tree | 3005ed70cd4ffbc83689fefaea15aef71c9aa5b8 /math | |
parent | dae38814f9b2628b05b06c4d52a72fa5e78aa3d5 (diff) | |
download | pkgsrc-4aa519cff9dc011eb3e4230d38154cbce4901a3d.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 |