diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-14 22:20:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-14 22:20:05 +0000 |
commit | 62cd402eea0abffa2596a0aa9079315dc8cca06b (patch) | |
tree | e97076c29fafbcc17902c0f733c9c1c7d3960c83 /games/qnetwalk | |
parent | 2e2489a9ea0d65b3a56a91ed25a27d246839faa1 (diff) | |
download | pkgsrc-62cd402eea0abffa2596a0aa9079315dc8cca06b.tar.gz |
DESTDIR support
Diffstat (limited to 'games/qnetwalk')
-rw-r--r-- | games/qnetwalk/Makefile | 6 |
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. |