aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-07-24 05:06:53 +0800
committerdanfe <danfe@FreeBSD.org>2008-07-24 05:06:53 +0800
commit788cc56f9a3028cbfc3d40d42dd0e7ed04a2db80 (patch)
treea0c9936f5a69e8d7d3d21f662afbd1b76c8a7b0d
parent8d23964731c3729bd37506947d7c9a6201ea05e4 (diff)
downloadfreebsd-ports-gnome-788cc56f9a3028cbfc3d40d42dd0e7ed04a2db80.tar.gz
freebsd-ports-gnome-788cc56f9a3028cbfc3d40d42dd0e7ed04a2db80.tar.zst
freebsd-ports-gnome-788cc56f9a3028cbfc3d40d42dd0e7ed04a2db80.zip
- Distfile was renamed and rerolled (only autotools-related changes)
- Wrap overly long lines, reindent OPTIONS (and rephrase one) - Stop patching things at extract stage
-rw-r--r--games/quetoo/Makefile22
-rw-r--r--games/quetoo/distinfo6
2 files changed, 14 insertions, 14 deletions
diff --git a/games/quetoo/Makefile b/games/quetoo/Makefile
index 817329f6d68f..cf831f03d836 100644
--- a/games/quetoo/Makefile
+++ b/games/quetoo/Makefile
@@ -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
diff --git a/games/quetoo/distinfo b/games/quetoo/distinfo
index 9eb2a3b84141..e8a4cce9d80f 100644
--- a/games/quetoo/distinfo
+++ b/games/quetoo/distinfo
@@ -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