1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Distfile was renamed and rerolled (only autotools-related changes)

- Wrap overly long lines, reindent OPTIONS (and rephrase one)
- Stop patching things at extract stage
This commit is contained in:
Alexey Dokuchaev 2008-07-23 21:06:53 +00:00
parent bf4d7ecaa8
commit 8167d0dfbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217391
2 changed files with 14 additions and 14 deletions

View File

@ -12,7 +12,6 @@ CATEGORIES= games
MASTER_SITES= http://jdolan.dyndns.org/jaydolan/files/ \
http://tastyspleen.net/~jdolan/ \
http://freebsd.nsu.ru/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-full
MAINTAINER= danfe@FreeBSD.org
COMMENT= Fast, stable, compatible, and secure Quake II client
@ -23,21 +22,22 @@ USE_GL= glut
USE_DOS2UNIX= src/vanctf/g_local.h
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" \
OPENGL_CFLAGS="-I${LOCALBASE}/include" OPENGL_LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
OPENGL_CFLAGS="-I${LOCALBASE}/include" \
OPENGL_LIBS="-L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LIBDIR= ${PREFIX}/lib/${PORTNAME}
PLIST_SUB+= LIBDIR="${LIBDIR:S/${PREFIX}\///}"
# Main and CTF game.so files are not built/installed by default since
# they're available via `quake2-data' and `quake2-ctf' ports.
#
OPTIONS= GAME "Build a main game .so file" off \
CTF "Build Capture The Flag modification" off \
VANCTF "Build Vanilla CTF modification" on \
QMASS "Build QMass deathmatch mod" on \
MYSQL "Enable MySQL frag logging" off \
OPTIONS= GAME "Build the main game .so file" off \
CTF "Build Capture The Flag modification" off \
VANCTF "Build Vanilla CTF modification" on \
QMASS "Build QMass deathmatch mod" on \
MYSQL "Enable MySQL frag logging" off \
.include <bsd.port.pre.mk>
@ -80,9 +80,9 @@ CONFIGURE_ARGS+= --without-mysql
CONFIGURE_ARGS+= --with-games='${Q2GAMES}'
post-extract: .SILENT
post-patch: .SILENT
${REINPLACE_CMD} -E 's,^(eval PKGDATADIR=).*$$,\1"${Q2DIR}", ; \
20055s,sdl-config,${SDL_CONFIG}, ; \
19752s,sdl-config,${SDL_CONFIG}, ; \
s,^(GAME_MODULES=")baseq2",\1",' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's,const struct,struct,' ${WRKSRC}/src/files.c
${REINPLACE_CMD} -e 's,-ldl,,' ${WRKSRC}/src/Makefile.in

View File

@ -1,3 +1,3 @@
MD5 (quetoo-0.6.1-full.tar.bz2) = e4dc8e47101b47ec15f8b0ae44c15bf9
SHA256 (quetoo-0.6.1-full.tar.bz2) = 1fcc01cf0fecca14d72ed3d905ce175128bc1470e69b96d3105facb5674af5cd
SIZE (quetoo-0.6.1-full.tar.bz2) = 1781869
MD5 (quetoo-0.6.1.tar.bz2) = 8b0e885dc9abf0c2af53d396d5e221bf
SHA256 (quetoo-0.6.1.tar.bz2) = d04fc5b38d473f43d4bb950edb5181a1350b1303728c6c3f3e96c608fa4208fe
SIZE (quetoo-0.6.1.tar.bz2) = 1786162