1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/sdlquake2/Makefile
Alejandro Pulver 0eaf5b215b - Add games/sdlquake2.
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/
2006-05-05 17:42:08 +00:00

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>