mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
664a2fa1e5
New major version 3.0.0
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
PORTNAME= ezquake
|
|
DISTVERSION= 3.2.3
|
|
PORTREVISION= 3
|
|
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@FreeBSD.org
|
|
COMMENT= Modern QuakeWorld client
|
|
WWW= https://www.ezquake.com/
|
|
|
|
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>
|