diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-08 17:20:52 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-08 17:20:52 +0000 |
commit | ef084c4c727c37518a1b533fb47f522fea7754cc (patch) | |
tree | 933db4000920b44ae5153e7406dbdf516f646ddb /games/craft/Makefile | |
parent | d6109ee9e3788942050a85ea4c2b937127461100 (diff) | |
download | pkgsrc-ef084c4c727c37518a1b533fb47f522fea7754cc.tar.gz |
user-destdir support
Diffstat (limited to 'games/craft/Makefile')
-rw-r--r-- | games/craft/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games/craft/Makefile b/games/craft/Makefile index 14e4ae29d21..4e0d72569dd 100644 --- a/games/craft/Makefile +++ b/games/craft/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2008/01/19 09:16:20 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2009/07/08 17:20:52 joerg Exp $ DISTNAME= craftcc35 PKGNAME= craft-3.5 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://set.gmd.de/~hua/ COMMENT= Warcraft-like game for X11 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_LANGUAGES= c c++ USE_TOOLS+= gmake @@ -26,6 +28,8 @@ SUBST_STAGE.buttons= pre-configure SUBST_FILES.buttons= .windefaults.params SUBST_SED.buttons= -e 's+buttons+${PREFIX}/share/craft/buttons+' +INSTALLATION_DIRS= bin + post-extract: find ${WRKSRC} -type f -name '*~' -print | xargs rm -f ln -fs ${FILESDIR}/Makefile ${WRKSRC} |