summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"