mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
0eaf5b215b
Basically this is a combination of R1Q2 and R1GL with SDL code from Quake2Forge. Meaning it's R1Q2 protocol 35 compatible Linux client. Tested on Debian Sarge. Both client and dedicated server. WWW: http://koti.mbnet.fi/~turol/sdlquake2/
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# New ports collection makefile for: sdlquake2
|
|
# Date created: 5 May 2006
|
|
# Whom: alepulver
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sdlquake2
|
|
PORTVERSION= 0.1.4
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://koti.mbnet.fi/~turol/sdlquake2/
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
COMMENT= Combination of R1Q2 and R1GL with SDL code from Quake2Forge
|
|
|
|
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
png.5:${PORTSDIR}/graphics/png
|
|
|
|
USE_BZIP2= yes
|
|
USE_GCC= 3.2+
|
|
USE_GMAKE= yes
|
|
USE_GL= yes
|
|
USE_SDL= sdl
|
|
|
|
MAKE_ENV= LIBDIR="${LIBDIR}"
|
|
|
|
LIBDIR= ${PREFIX}/lib/${PORTNAME}
|
|
PLIST_SUB= LIBDIR=${LIBDIR:S/${PREFIX}\///}
|
|
|
|
do-install:
|
|
${MKDIR} ${LIBDIR}/baseq2
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ref_sdlgl.so ${LIBDIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/baseq2/game.so ${LIBDIR}/baseq2
|
|
${INSTALL_PROGRAM} ${WRKSRC}/quake2 ${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/q2ded ${PREFIX}/bin/${PORTNAME}-ded
|
|
|
|
post-install:
|
|
@${ECHO_CMD}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_CMD}
|
|
|
|
.include "${.CURDIR}/../quake2-data/Makefile.include"
|
|
|
|
.include <bsd.port.mk>
|