2012-10-12 10:29:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.47 2012/10/12 14:29:22 kirby Exp $
|
2005-02-19 16:48:44 -05:00
|
|
|
|
2007-07-04 07:12:31 -04:00
|
|
|
COMMENT= fantasy turn-based strategy game
|
2007-03-17 12:59:31 -04:00
|
|
|
|
2012-10-08 18:28:34 -04:00
|
|
|
DISTNAME= wesnoth-1.10.4
|
2012-10-12 10:29:22 -04:00
|
|
|
REVISION= 0
|
2009-12-22 11:27:59 -05:00
|
|
|
|
2005-02-19 16:48:44 -05:00
|
|
|
CATEGORIES= games x11
|
|
|
|
|
2012-10-12 10:29:22 -04:00
|
|
|
MAINTAINER= Kirill Bychkov <kirby@openbsd.org>
|
2007-02-06 02:59:08 -05:00
|
|
|
|
2010-10-12 16:33:17 -04:00
|
|
|
HOMEPAGE= http://www.wesnoth.org/
|
|
|
|
|
2007-03-17 12:59:31 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wesnoth/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2008-10-10 10:27:38 -04:00
|
|
|
# GPLv2
|
2005-02-19 16:48:44 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-02-06 02:59:08 -05:00
|
|
|
|
2012-04-07 04:32:32 -04:00
|
|
|
WANTLIB += GL ICE SDL SDL_image SDL_mixer SDL_net SDL_ttf SM X11
|
|
|
|
WANTLIB += Xext Xrender boost_iostreams-mt boost_program_options-mt
|
|
|
|
WANTLIB += boost_regex-mt boost_system-mt c cairo dbus-1 expat
|
2012-04-19 04:19:34 -04:00
|
|
|
WANTLIB += fontconfig freetype fribidi glib-2.0 gobject-2.0 m
|
|
|
|
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
|
|
|
WANTLIB += pthread pthread-stubs stdc++ xcb xcb-render xcb-shm
|
|
|
|
WANTLIB += z
|
2011-07-20 14:37:53 -04:00
|
|
|
|
2012-04-19 04:19:34 -04:00
|
|
|
MODULES= devel/cmake \
|
|
|
|
devel/gettext
|
2009-04-09 13:43:36 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
LIB_DEPENDS= devel/boost \
|
|
|
|
devel/sdl-image \
|
|
|
|
devel/sdl-net \
|
|
|
|
devel/sdl-mixer \
|
|
|
|
devel/sdl-ttf \
|
|
|
|
devel/fribidi \
|
|
|
|
devel/pango \
|
|
|
|
x11/dbus
|
2008-04-27 15:50:10 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
|
|
|
textproc/libxslt
|
2010-10-12 16:33:17 -04:00
|
|
|
|
2012-04-07 04:32:32 -04:00
|
|
|
CONFIGURE_ARGS+=-DFIFO_DIR=/var/run/ \
|
|
|
|
-DENABLE_CAMPAIGN_SERVER=ON \
|
|
|
|
-DENABLE_STRICT_COMPILATION=OFF \
|
|
|
|
-DMANDIR=${PREFIX}/man
|
2005-02-19 16:48:44 -05:00
|
|
|
|
2009-04-09 13:43:36 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2012-04-07 04:32:32 -04:00
|
|
|
SEPARATE_BUILD= flavored
|
2009-04-09 13:43:36 -04:00
|
|
|
|
2012-04-07 04:32:32 -04:00
|
|
|
FLAVORS= lite
|
2009-04-09 13:43:36 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2011-12-02 09:36:13 -05:00
|
|
|
.if ${FLAVOR:Mlite}
|
2012-04-07 04:32:32 -04:00
|
|
|
CONFIGURE_ARGS+=-DENABLE_LOW_MEM=ON
|
2009-04-09 13:43:36 -04:00
|
|
|
.endif
|
|
|
|
|
2005-02-19 16:48:44 -05:00
|
|
|
.include <bsd.port.mk>
|