summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-11-29 22:45:06 +0000
committerheinz <heinz@pkgsrc.org>2007-11-29 22:45:06 +0000
commit11db5ef9634a87e51f3fb59613b00a3baeda2844 (patch)
tree4e673720930f86d9a890e195be8f4bd5d4ae3758 /games
parent3f57129fa1a3a8b5be490dddcc200e6ff6001b52 (diff)
downloadpkgsrc-11db5ef9634a87e51f3fb59613b00a3baeda2844.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"