summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorheinz <heinz>2007-11-29 22:45:06 +0000
committerheinz <heinz>2007-11-29 22:45:06 +0000
commit79bbc770cedfb9510a539061e2e7296c006a76a9 (patch)
tree4e673720930f86d9a890e195be8f4bd5d4ae3758 /games
parent5d5f317b8418cc877ec905dcdf2813813bf0e603 (diff)
downloadpkgsrc-79bbc770cedfb9510a539061e2e7296c006a76a9.tar.gz
Package supports installation to DESTDIR.
Diffstat (limited to 'games')
-rw-r--r--games/wormux/Makefile6
1 files 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"