summaryrefslogtreecommitdiffstats
path: root/games/exult/Makefile
blob: 7449375d8544de9b9bf8640ba3e92a455bc69603 (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
45
46
47
48
49
50
# Created by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
# $FreeBSD$

PORTNAME=	exult
PORTVERSION=	1.5.0.20130315
PORTREVISION=	3
CATEGORIES=	games
MASTER_SITES=	http://www.math.leidenuniv.nl/~wpalenst/cvs/
DISTNAME=	exult-20130315-0400

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Ultima VII engine

LICENSE=	GPLv2 # or later
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	timidity:${PORTSDIR}/audio/timidity
RUN_DEPENDS=	timidity:${PORTSDIR}/audio/timidity

USE_SDL=	sdl mixer
USE_XORG=	x11
USES=		autoreconf gmake libtool pkgconfig
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

WRKSRC=		${WRKDIR}/exult

SUB_FILES=	pkg-message

OPTIONS_DEFINE=	STUDIO
OPTIONS_DEFAULT=STUDIO
OPTIONS_SUB=	yes
STUDIO_DESC=	Install Exult Studio

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSTUDIO}
CONFIGURE_ARGS+=--enable-exult-studio \
		--enable-exult-studio-support
USE_GNOME+=	libglade2
.endif

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in FAQ NEWS README
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud