72c46a20eb
General difference (for ports infrastructure): - switch to cmake build system - drop external lua and use internal patched version - set SEPARATE_BUILD=flavored to avoid extracting a lot of data for every arch - removed superfluous dependency to devel/sdl - drop tinygui FLAVOR Full changelog is here: http://svn.gna.org/viewcvs/*checkout*/wesnoth/tags/1.10.0/changelog OKs from jasper@ (maintainer), aja@, pascal@, cmake-wise OK from dcoppa@ Positive feedback from Antti Harri and Bryan Linton via ports@
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.43 2012/04/07 08:32:32 kirby Exp $
|
|
|
|
COMMENT= fantasy turn-based strategy game
|
|
|
|
DISTNAME= wesnoth-1.10.1
|
|
|
|
CATEGORIES= games x11
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@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
|
|
WANTLIB += fontconfig freetype fribidi glib-2.0 gmodule-2.0 gobject-2.0
|
|
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
WANTLIB += pixman-1 png pthread pthread-stubs stdc++ xcb xcb-render
|
|
WANTLIB += xcb-shm z
|
|
|
|
MODULES= devel/cmake devel/gettext
|
|
|
|
LIB_DEPENDS= devel/boost \
|
|
devel/sdl-image \
|
|
devel/sdl-net \
|
|
devel/sdl-mixer \
|
|
devel/sdl-ttf \
|
|
devel/fribidi \
|
|
devel/pango \
|
|
x11/dbus
|
|
|
|
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
|
|
|
|
USE_LIBTOOL= Yes
|
|
SEPARATE_BUILD= flavored
|
|
|
|
FLAVORS= lite
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:Mlite}
|
|
CONFIGURE_ARGS+=-DENABLE_LOW_MEM=ON
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|