summaryrefslogtreecommitdiff
path: root/games/wesnoth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/wesnoth/Makefile')
-rw-r--r--games/wesnoth/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile
index da11c684893..37abc0baf53 100644
--- a/games/wesnoth/Makefile
+++ b/games/wesnoth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2008/05/20 11:43:59 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2008/06/20 01:09:20 joerg Exp $
DISTNAME= wesnoth-1.4.2
CATEGORIES= games
@@ -9,6 +9,8 @@ MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.wesnoth.org/
COMMENT= Fantasy turn-based strategy game
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
CONFIGURE_ARGS+= --with-boost=${BUILDLINK_PREFIX.boost-libs}
@@ -44,7 +46,7 @@ REPLACE_RUBY= data/tools/terrain2wiki.rb
.include "../../lang/ruby/replace.mk"
post-install:
- ${RM} ${PREFIX}/share/wesnoth/icons/Makefile*
+ ${RM} ${DESTDIR}${PREFIX}/share/wesnoth/icons/Makefile*
BUILDLINK_API_DEPENDS.SDL_mixer+= SDL_mixer>=1.2.5nb3
.include "../../audio/SDL_mixer/buildlink3.mk"