From 1be18bdef844979e7d83dae614b4cce769045d7c Mon Sep 17 00:00:00 2001 From: asau Date: Sat, 12 Dec 2009 19:19:00 +0000 Subject: Support staged installation. --- math/xlife/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'math') 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 -- cgit v1.2.3