summaryrefslogtreecommitdiff
path: root/games/craft/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-08 17:20:52 +0000
committerjoerg <joerg>2009-07-08 17:20:52 +0000
commitba4a6d7abe93b727581b9c71970ab37f01c1ca62 (patch)
tree933db4000920b44ae5153e7406dbdf516f646ddb /games/craft/Makefile
parentdcdbe8f4f7cedde7b781d8b258b188ab6fa570e8 (diff)
downloadpkgsrc-ba4a6d7abe93b727581b9c71970ab37f01c1ca62.tar.gz
user-destdir support
Diffstat (limited to 'games/craft/Makefile')
-rw-r--r--games/craft/Makefile6
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}