diff options
author | asau <asau> | 2009-12-12 19:19:00 +0000 |
---|---|---|
committer | asau <asau> | 2009-12-12 19:19:00 +0000 |
commit | 1be18bdef844979e7d83dae614b4cce769045d7c (patch) | |
tree | 3005ed70cd4ffbc83689fefaea15aef71c9aa5b8 | |
parent | 00a50c05fe9d59a0787e88c72f8a65a6aaa45a04 (diff) | |
download | pkgsrc-1be18bdef844979e7d83dae614b4cce769045d7c.tar.gz |
Support staged installation.
-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 |