summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-14 22:20:05 +0000
committerjoerg <joerg>2010-02-14 22:20:05 +0000
commit00e849521c9728444fea56022392663877d8380f (patch)
treee97076c29fafbcc17902c0f733c9c1c7d3960c83 /games
parentc49638efc7bc41ffc8f2c30d2aba4705ee2aaf11 (diff)
downloadpkgsrc-00e849521c9728444fea56022392663877d8380f.tar.gz
DESTDIR support
Diffstat (limited to 'games')
-rw-r--r--games/qnetwalk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/qnetwalk/Makefile b/games/qnetwalk/Makefile
index 32d4512e5b1..74f509fe0af 100644
--- a/games/qnetwalk/Makefile
+++ b/games/qnetwalk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2010/01/18 09:58:53 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2010/02/14 22:20:05 joerg Exp $
#
DISTNAME= qnetwalk-1.2
@@ -10,6 +10,8 @@ MAINTAINER= ianzag@mail.ru
HOMEPAGE= http://qt.osdn.org.ua/qnetwalk.html
COMMENT= QNetwalk is a Qt-version of the popular NetWalk game
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
@@ -23,6 +25,8 @@ KDEDIR= ${PREFIX}/share/kde
do-configure:
(cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile qnetwalk.pro)
+INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
+
# Fix hardcoded paths
SUBST_CLASSES+= path
SUBST_MESSAGE.path= Fixing hardcoded paths.