summaryrefslogtreecommitdiff
path: root/games/wesnoth/Makefile
diff options
context:
space:
mode:
authoradam <adam>2010-08-28 20:08:40 +0000
committeradam <adam>2010-08-28 20:08:40 +0000
commitde8b5ac9751a9f1c36400cb7513d1ca3682025d9 (patch)
tree8e389ed2b637b0dae6e43b72930e4d40b6717ae7 /games/wesnoth/Makefile
parent594c9c863c84e90185535d2cfc7e4bed5d6de456 (diff)
downloadpkgsrc-de8b5ac9751a9f1c36400cb7513d1ca3682025d9.tar.gz
Changes 1.8.4:
* AI: * Fixed bug #16102: Made AI cancel attacks if a previously valid attack was made invalid by WML event after move in move+attack sequence. * Allowed custom eras to define Lua AI modifications for games played with this era. * Campaigns: * Delfadors Memoirs: * Make Lionel's portrait in Delfador's Memoirs story screens the same as his unit portrait since there doesn't seem to be a current higher-res version available * Descent into Darkness: * Made 'Alone at Last' slightly easier. Also, Dela is no longer invulnerable but cannot be assassinated easily. * Legend of Wesmere: * removed gold overlay when defeating both leaders * Reduced the difficulty of scenario 14 and improved the AI of the ally. * Liberty: * Increased the difficulty in 'Glory' by making the defenders behave more intelligently. * Language and i18n: * Updated translations: Chinese (Simplified), Galician, Japanese, Serbian, Vietnamese * Flushed image cache when changing language * Miscellaneous and bug fixes: * Ensured graceful failure when encountering broken [advancefrom] tag. * Handled ToD areas in a LIFO way, so that it is possible to override them without first removing them * Avoided displaying an empty menu and therefore choosing a random weapon, when there is none * Added detection for server replays, as they are missing the core [lua] tags * Fixed attack_end event not raised for uncommon swarm attacks * Added test for invalidated death due to positive hp after the 'die' event * 1.9 syntax creeped into 1.8.x causing segfaults * Fixed petrifying in multiround combats * Fixed reference binded to a temporary, possibly the cause of the failure on arklinux * Never allow uploading *.pbl files (case-insensitive) to the add-ons server from the regular game client * Fixed revision.hpp generation with cmake 1.8(.2) * Fixed usage of first PKG_CHECK_MODULES inside a shell conditional * Fixed broken attack animatio
Diffstat (limited to 'games/wesnoth/Makefile')
-rw-r--r--games/wesnoth/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile
index 0cbefc15460..43340a2606f 100644
--- a/games/wesnoth/Makefile
+++ b/games/wesnoth/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2010/06/13 22:44:24 wiz Exp $
+# $NetBSD: Makefile,v 1.60 2010/08/28 20:08:40 adam Exp $
-DISTNAME= wesnoth-1.6.4
-PKGREVISION= 4
+DISTNAME= wesnoth-1.8.4
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wesnoth/}
EXTRACT_SUFX= .tar.bz2
@@ -15,11 +14,12 @@ BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
PKG_DESTDIR_SUPPORT= user-destdir
-CONFIGURE_ARGS+= --with-boost=${BUILDLINK_PREFIX.boost-libs}
+#USE_CMAKE= yes
USE_LIBTOOL= yes
-USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
+USE_TOOLS+= aclocal autoconf autoheader automake pkg-config
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-boost=${BUILDLINK_PREFIX.boost-libs}
UNLIMIT_RESOURCES+= datasize
@@ -65,6 +65,10 @@ REPLACE_SH+= data/tools/castle-cutter/mk-all-castles.sh
USE_TOOLS+= gmake
.endif
+pre-configure:
+ set -e; cd ${WRKSRC}; \
+ aclocal -I m4; autoheader; automake -a --foreign -i; autoconf
+
BUILDLINK_API_DEPENDS.SDL_mixer+= SDL_mixer>=1.2.5nb3
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../converters/fribidi/buildlink3.mk"
@@ -79,6 +83,7 @@ BUILDLINK_API_DEPENDS.pango+= pango>=1.14.8
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
.include "../../net/SDL_net/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"