pkgsrc/games/wesnoth/Makefile
wiz 7c47137f7a Update to 1.2.8:
This is a bugfix release for 1.2 and it is compatible with the
other 1.2 versions. The main reason for this release was an important
security fix. This issue was filed as CVE-2007-5742, it did allow
others to view the content of files on the remote computer. We did
now fix this problem by removing the option to use ../ in paths.

Another problem could arise with the preference option "turn_cmd".
Due to this problem the computer could either be stalled by a faulty
add-on or *maybe* (we found no way to do so) some other application
could be started. This option has now been removed since it probably
wasn't used anyway.

Beside those important changes only small things were changed. For
all the other changes (really not much), have a look at the changelog.

Since those are rather serious issues we do advise everybody using
the 1.2.x stable series to upgrade to 1.2.8 as soon as possible.
All saves and the existing content should still work after this
upgrade. In general be careful in regards to add-ons you use, there
might be some bad ones available even on the official add-on server
because the content available there is usually not checked.
2007-11-29 12:42:48 +00:00

53 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.42 2007/11/29 12:42:48 wiz Exp $
DISTNAME= wesnoth-1.2.8
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wesnoth/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.wesnoth.org/
COMMENT= Fantasy turn-based strategy game
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
UNLIMIT_RESOURCES+= datasize
REPLACE_PERL+= utils/wmlxgettext
REPLACE_PERL+= data/tools/unit_tree/units.pl
REPLACE_PERL+= data/tools/unit_tree/TeamColorizer.pl
USE_TOOLS+= perl:run msgfmt
SUBST_CLASSES+= python
SUBST_STAGE.python= post-build
SUBST_FILES.python= data/ais/sample.py
SUBST_MESSAGE.python= Fixing path to python.
# XXX: Best we can do without pulling in a python dependency.
SUBST_SED.python+= -e 's,WPY,${PREFIX}/bin/python2.4,'
.include "../../mk/bsd.prefs.mk"
# unit_types.cpp causes gcc to segfault at least on NetBSD 3.
# If you see this on other platforms, add them to the list.
# XXX: should we check for gcc versions? which ones?
.if !empty(MACHINE_PLATFORM:MNetBSD-3.[0-9]*)
MAKE_ENV+= ICE_NO_OPT=-O
.endif
BUILDLINK_API_DEPENDS.SDL+= SDL>=1.2.7
BUILDLINK_API_DEPENDS.SDL_mixer+= SDL_mixer>=1.2.5nb3
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../converters/fribidi/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
# configure script in 0.9.0 requests explicitly to
# use included SDL_ttf library
#.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../net/SDL_net/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"