aboutsummaryrefslogtreecommitdiff
path: root/games/quetoo
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2008-07-23 21:06:53 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2008-07-23 21:06:53 +0000
commit8167d0dfbb1e1f9e4b10601f266532a706cb1461 (patch)
treefaea4827d814b97e430703bbd8b5dc180017e193 /games/quetoo
parentbf4d7ecaa8ec6ef70df5769535d634c6e7aa39da (diff)
downloadports-8167d0dfbb1e1f9e4b10601f266532a706cb1461.tar.gz
ports-8167d0dfbb1e1f9e4b10601f266532a706cb1461.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
Notes
Notes: svn path=/head/; revision=217391
Diffstat (limited to 'games/quetoo')
-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