1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/ezquake/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

47 lines
1.2 KiB
Makefile

# Created by: alepulver
PORTNAME= ezquake
DISTVERSION= 3.2.3
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= games
MASTER_SITES= https://github.com/ezQuake/ezquake-source/archive/ \
https://github.com/ezQuake/ezquake-source/releases/download/${PORTVERSION}/
DISTFILES= ${PORTVERSION}.tar.gz \
${PORTNAME}-ubuntu-${PORTVERSION}-full.tar.gz
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= vvd@unislabs.com
COMMENT= Modern QuakeWorld client
LIB_DEPENDS= libcurl.so:ftp/curl \
libexpat.so:textproc/expat2 \
libjansson.so:devel/jansson \
libpcre.so:devel/pcre \
libpng.so:graphics/png \
libspeex.so:audio/speex \
libspeexdsp.so:audio/speexdsp
USES= gl gmake jpeg pkgconfig sdl tcl
USE_GL= yes
USE_SDL= sdl2
MAKE_ENV= TCL_SUFX=${TCL_SHLIB_VER}
.for v in TCL_INCLUDEDIR TCL_LIBDIR DATADIR
MAKE_ENV+= ${v}="${${v}}"
.endfor
WRKSRC= ${WRKDIR}/${PORTNAME}-source-${PORTVERSION}
.include "${.CURDIR}/../quake-data/Makefile.include"
post-patch:
@${REINPLACE_CMD} -e 's|libtcl\.so|libtcl${TCL_VER:S/.//}|' \
${WRKSRC}/embed_tcl.h
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKDIR} && ${COPYTREE_SHARE} "ezquake qw" ${STAGEDIR}${DATADIR})
${INSTALL_PROGRAM} ${WRKSRC}/ezquake-freebsd \
${STAGEDIR}${PREFIX}/bin/ezquake
.include <bsd.port.mk>