summaryrefslogtreecommitdiff
path: root/games/manaplus/Makefile
blob: 8c970fe4e2a00748b7d28507ac41c8f28b18d634 (plain) (blame)
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
# Created by: Tobias Gion
# $FreeBSD$

PORTNAME=	manaplus
PORTVERSION=	1.3.11.10
CATEGORIES=	games
MASTER_SITES=	http://download.evolonline.org/manaplus/download/${PORTVERSION}/

MAINTAINER=	mva@FreeBSD.org
COMMENT=	Free open source 2D MMORPG in development

LICENSE=	GPLv2

LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2 \
		libpng15.so:${PORTSDIR}/graphics/png \
		libcurl.so:${PORTSDIR}/ftp/curl \
		libphysfs.so:${PORTSDIR}/devel/physfs \
		libguichan.so:${PORTSDIR}/devel/guichan

USES=		gettext pkgconfig:build
USE_XZ=		yes
USE_SDL=	sdl gfx image mixer net ttf
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--without-internalguichan \
		--with-libintl-prefix=${LOCALBASE}
LDFLAGS+=	-L${LOCALBASE}/lib -lintl
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

OPTIONS_DEFINE=		OPENGL
OPTIONS_DEFAULT=	OPENGL

OPENGL_CONFIGURE_WITH=	opengl
OPENGL_USE=		GL=yes

.include <bsd.port.mk>