freebsd-ports/games/exult/Makefile
Charlie Li d63665f7cd
textproc/libxml2: bump all LIB_DEPENDS consumers
This is a separate commit to facilitate easier cherry-picking for
quarterly.

PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
2022-04-10 15:11:41 -04:00

66 lines
1.6 KiB
Makefile

# Created by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
PORTNAME= exult
DISTVERSIONPREFIX= v
DISTVERSION= 1.7.0.20211128
PORTREVISION= 2
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
COMMENT= Engine for Ultima VII (BG, FOV, SI, SS)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libogg.so:audio/libogg \
libpng.so:graphics/png \
libvorbis.so:audio/libvorbis
USES= autoreconf compiler:c++17-lang gmake libtool localbase \
pkgconfig sdl xorg
USE_GITHUB= yes
GH_TAGNAME= snapshot-${DISTVERSIONPREFIX}${DISTVERSION}
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
USE_SDL= mixer2 sdl2
USE_XORG= xext x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static \
--enable-shared \
--with-icondir=${PREFIX}/share/pixmaps
SUB_FILES= pkg-message
OPTIONS_DEFINE= ALSA DOCS DEBUG FLUIDSYNTH GIMP STUDIO
OPTIONS_DEFAULT= STUDIO
OPTIONS_SUB= yes
GIMP_DESC= GIMP plugin support
STUDIO_DESC= Install Exult Studio
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CONFIGURE_ENABLE= alsa
DEBUG_CONFIGURE_ON= --with-debug=full --with-optimization=none
DEBUG_CONFIGURE_OFF= --with-debug=no
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
FLUIDSYNTH_CONFIGURE_ENABLE= fluidsynth
GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app
GIMP_CONFIGURE_ENABLE= gimp-plugin
STUDIO_USES= gnome
STUDIO_USE= gnome=libglade2
STUDIO_CONFIGURE_ENABLE= exult-studio exult-studio-support
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in FAQ NEWS README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>