1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/games/yquake2/Makefile
Alexey Dokuchaev 517ca7b450 games/yquake2: the port had been updated to version 8.10
While here, do not needlessly initialize local variable as the
FS_GetNextRawPath() would DTRT itself and drop one extra space.

PR:	265286
2022-10-28 13:11:22 +00:00

45 lines
1.3 KiB
Makefile

PORTNAME= yquake2
PORTVERSION= 8.10
CATEGORIES= games
MASTER_SITES= https://deponie.yamagi.org/quake2/
DISTNAME= quake2-${PORTVERSION}
MAINTAINER= shamaz.mazum@gmail.com
COMMENT= Improved version of Icculus Quake II
WWW= https://www.yamagi.org/quake2/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
# Quake II loads optional libraries via dlopen(3)
BUILD_DEPENDS= ${LOCALBASE}/include/curl/curl.h:ftp/curl
RUN_DEPENDS= ${LOCALBASE}/lib/libcurl.so:ftp/curl
USES= gmake openal gl sdl tar:xz
USE_GL= gl
USE_SDL= sdl2
MAKE_ARGS= VERBOSE=1 WITH_SYSTEMWIDE=yes \
WITH_SYSTEMDATADIR="${Q2DIR}" \
WITH_SYSTEMLIBDIR="${PREFIX}/lib/${PORTNAME}"
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/release/q2ded \
${STAGEDIR}${PREFIX}/bin/yq2ded
${INSTALL_PROGRAM} ${WRKSRC}/release/quake2 \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/baseq2
${INSTALL_LIB} ${WRKSRC}/release/baseq2/game.so \
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/baseq2
${INSTALL_LIB} ${WRKSRC}/release/ref_*.so \
${STAGEDIR}${PREFIX}/lib/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/doc/*.md \
${STAGEDIR}${DOCSDIR}
.include "${.CURDIR}/../quake2-data/Makefile.include"
.include <bsd.port.mk>