1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/games/gemrb/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

37 lines
878 B
Makefile

PORTNAME= gemrb
PORTVERSION= 0.9.0
CATEGORIES= games emulators
MASTER_SITES= SF/${PORTNAME}/Releases/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-sources
MAINTAINER= pkubaj@FreeBSD.org
COMMENT= GemRB (Game engine made with preRendered Background)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libvorbis.so:audio/libvorbis \
libfreetype.so:print/freetype2
USES= cmake compiler:c11 gnome iconv localbase openal:al,alut \
python:3.6+ sdl shebangfix
SHEBANG_FILES= admin/extend2da.py
USE_SDL= sdl2
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
OPTIONS_SUB= yes
CMAKE_ARGS= -DDOC_DIR="${DOCSDIR}" \
-DMAN_DIR="${MAN6PREFIX}/man/man6/" \
-DSDL_BACKEND=SDL2 \
-DUSE_OPENAL=ON \
-DUSE_LIBVLC=OFF \
-DHAVE_LDEXPF=1
PLIST_SUB= PORTVERSION=${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.mk>