openbsd-ports/games/wesnoth/Makefile

62 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.47 2012/10/12 14:29:22 kirby Exp $
COMMENT= fantasy turn-based strategy game
DISTNAME= wesnoth-1.10.4
REVISION= 0
CATEGORIES= games x11
MAINTAINER= Kirill Bychkov <kirby@openbsd.org>
HOMEPAGE= http://www.wesnoth.org/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wesnoth/}
EXTRACT_SUFX= .tar.bz2
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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
CONFIGURE_ARGS+=-DFIFO_DIR=/var/run/ \
-DENABLE_CAMPAIGN_SERVER=ON \
-DENABLE_STRICT_COMPILATION=OFF \
-DMANDIR=${PREFIX}/man
2009-04-09 13:43:36 -04:00
USE_LIBTOOL= Yes
SEPARATE_BUILD= flavored
2009-04-09 13:43:36 -04:00
FLAVORS= lite
2009-04-09 13:43:36 -04:00
FLAVOR?=
2011-12-02 09:36:13 -05:00
.if ${FLAVOR:Mlite}
CONFIGURE_ARGS+=-DENABLE_LOW_MEM=ON
2009-04-09 13:43:36 -04:00
.endif
.include <bsd.port.mk>