blob: 97539647f6a53fdc011af04abdbe77526b2ec42b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.36 2007/02/22 19:30:03 wiz Exp $
DISTNAME= wesnoth-1.2.1
PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wesnoth/}
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
USE_TOOLS+= perl:run msgfmt
.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"
|