summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorasau <asau>2009-12-12 19:19:00 +0000
committerasau <asau>2009-12-12 19:19:00 +0000
commit1be18bdef844979e7d83dae614b4cce769045d7c (patch)
tree3005ed70cd4ffbc83689fefaea15aef71c9aa5b8 /math
parent00a50c05fe9d59a0787e88c72f8a65a6aaa45a04 (diff)
downloadpkgsrc-1be18bdef844979e7d83dae614b4cce769045d7c.tar.gz
Support staged installation.
Diffstat (limited to 'math')
-rw-r--r--math/xlife/Makefile8
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