From 79bbc770cedfb9510a539061e2e7296c006a76a9 Mon Sep 17 00:00:00 2001 From: heinz Date: Thu, 29 Nov 2007 22:45:06 +0000 Subject: Package supports installation to DESTDIR. --- games/wormux/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/games/wormux/Makefile b/games/wormux/Makefile index 78a82a6a607..a3f4b1c1ed8 100644 --- a/games/wormux/Makefile +++ b/games/wormux/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2007/09/21 13:03:45 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2007/11/29 22:45:06 heinz Exp $ # DISTNAME= wormux-0.7.9 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.wormux.org/ COMMENT= Battle game +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES= c c++ USE_PKGLOCALEDIR= yes @@ -49,7 +51,7 @@ WSHDIRS+= game_mode pre-install: for d in ${WSHDIRS}; do \ - ${INSTALL_DATA_DIR} ${PREFIX}/share/wormux/$$d; \ + ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX}/share/wormux/$$d; \ done .include "../../devel/SDL/buildlink3.mk" -- cgit v1.2.3