pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/wormux Package supports installation to DESTDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/af7e093992ac
branches: trunk
changeset: 535900:af7e093992ac
user: heinz <heinz%pkgsrc.org@localhost>
date: Thu Nov 29 22:45:06 2007 +0000
description:
Package supports installation to DESTDIR.
diffstat:
games/wormux/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r fa280317e905 -r af7e093992ac games/wormux/Makefile
--- a/games/wormux/Makefile Thu Nov 29 22:37:00 2007 +0000
+++ b/games/wormux/Makefile Thu Nov 29 22:45:06 2007 +0000
@@ -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 @@
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 @@
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"
Home |
Main Index |
Thread Index |
Old Index