1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/exult/Makefile
John Marino 383ddda120 games/exult: Update to latest 1.5.x snapshot (Unbreaks F10+)
The previous version of Exult, 1.2, is considered ancient by the
developers.  Morever, it's c++ was horrid, requiring around 3 dozen
patches just to build on equally ancient gcc 4.5.

Exult has not been released yet, but the snapshots are considered
superior even to the last RC release, 1.4.9rc.  The C++ code builds
without patches on both gcc 4.7 (DragonFly) and clang from F10 (verified
by Redports)

The Exult Studio was added as an option, it's on by default.  I did not
add the Mod or usecode compiler.  If somebody wants those, they can be
added as options as well.  While updating, support stage.
2014-01-16 10:44:21 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
# $FreeBSD$
PORTNAME= exult
PORTVERSION= 1.5.0.20130315
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
BUILD_DEPENDS= timidity:${PORTSDIR}/audio/timidity
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
USE_SDL= sdl mixer
USE_XORG= x11
USES= gmake pkgconfig
USE_AUTOTOOLS= libtool autoconf automake aclocal autoheader libtoolize
AUTOMAKE_ARGS= --add-missing
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>