mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Complete the rename of games/warzone2100 to games/warzone.
PR: ports/102398
This commit is contained in:
parent
73d9f8c3b7
commit
f662192839
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171576
7
UPDATING
7
UPDATING
@ -8,6 +8,13 @@ upgrades.
|
||||
|
||||
|
||||
|
||||
20060828:
|
||||
AFFECTS: users of games/warzone2100
|
||||
AUTHOR: alepulver@FreeBSD.org
|
||||
|
||||
games/warzone2100 port directory was renamed to games/warzone to match
|
||||
the port distfile and data directory.
|
||||
|
||||
20060827:
|
||||
AFFECTS: users of devel/perforce
|
||||
AUTHOR: lth@FreeBSD.org
|
||||
|
@ -726,7 +726,7 @@
|
||||
SUBDIR += wargus
|
||||
SUBDIR += warsow
|
||||
SUBDIR += warsow-data
|
||||
SUBDIR += warzone2100
|
||||
SUBDIR += warzone
|
||||
SUBDIR += wesnoth
|
||||
SUBDIR += wmeyes
|
||||
SUBDIR += wmfortune
|
||||
|
@ -5,11 +5,10 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= warzone2100
|
||||
PORTNAME= warzone
|
||||
PORTVERSION= 2.0.3
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://download.gna.org/warzone/releases/2.0/
|
||||
DISTNAME= warzone-${PORTVERSION}
|
||||
|
||||
MAINTAINER= alepulver@FreeBSD.org
|
||||
COMMENT= Innovative 3D real-time strategy game
|
||||
@ -34,8 +33,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
|
||||
LIBS="${PTHREAD_LIBS}"
|
||||
|
||||
DATADIR= ${PREFIX}/share/warzone
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/stdint.h/d' ${WRKSRC}/lib/ivis_opengl/screen.c
|
||||
@${REINPLACE_CMD} -e 's|-m32||' \
|
||||
|
@ -1,55 +0,0 @@
|
||||
# New ports collection makefile for: warzone2100
|
||||
# Date created: 21 Aug 2005
|
||||
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= warzone2100
|
||||
PORTVERSION= 2.0.3
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://download.gna.org/warzone/releases/2.0/
|
||||
DISTNAME= warzone-${PORTVERSION}
|
||||
|
||||
MAINTAINER= alepulver@FreeBSD.org
|
||||
COMMENT= Innovative 3D real-time strategy game
|
||||
|
||||
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
mad.2:${PORTSDIR}/audio/libmad \
|
||||
ogg.5:${PORTSDIR}/audio/libogg \
|
||||
openal.0:${PORTSDIR}/audio/openal \
|
||||
physfs-1.0.1:${PORTSDIR}/devel/physfs \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
vorbis.3:${PORTSDIR}/audio/libvorbis
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_BISON= yes
|
||||
USE_GL= yes
|
||||
USE_SDL= net sdl
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --program-transform-name=""
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
|
||||
LIBS="${PTHREAD_LIBS}"
|
||||
|
||||
DATADIR= ${PREFIX}/share/warzone
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/stdint.h/d' ${WRKSRC}/lib/ivis_opengl/screen.c
|
||||
@${REINPLACE_CMD} -e 's|-m32||' \
|
||||
-e 's|/usr/local|${LOCALBASE}|; s|/usr/X11R6|${X11BASE}|' \
|
||||
${WRKSRC}/configure
|
||||
.for f in configure *.c *.h
|
||||
@${FIND} ${WRKSRC} -type f -name "${f}" -print0 | \
|
||||
${XARGS} -0 ${REINPLACE_CMD} -e 's|SDL/||'
|
||||
.endfor
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (warzone-2.0.3.tar.bz2) = 2396e0def69e5e48902448d04944927a
|
||||
SHA256 (warzone-2.0.3.tar.bz2) = 7668f6b794faad8d7ae66dbd0c7317df2521b33593f29174ab3fecb647326749
|
||||
SIZE (warzone-2.0.3.tar.bz2) = 19902273
|
@ -1,11 +0,0 @@
|
||||
--- src/game.c.bak Thu Aug 17 18:52:11 2006
|
||||
+++ src/game.c Thu Aug 17 18:52:44 2006
|
||||
@@ -2832,7 +2832,7 @@
|
||||
aFileName[strlen(aFileName) - 4] = '\0';
|
||||
|
||||
//create dir will fail if directory already exists but don't care!
|
||||
- (void) PHYSFS_mkdir(aFileName);
|
||||
+ (void) PHYSFS_mkdir(unix_path(aFileName));
|
||||
|
||||
//save the map file
|
||||
strcat(aFileName, "/");
|
@ -1,13 +0,0 @@
|
||||
Warzone 2100 was an innovative 3D real-time strategy game back in 1999, and
|
||||
most will agree it didn't enjoy the commercial success it should have had. The
|
||||
game's source code was liberated on December 6th, 2004, under a GPL license
|
||||
(see COPYING in this directory for details). Soon after that, the Warzone 2100
|
||||
ReDev project was formed to take care of its future.
|
||||
|
||||
Our goal is to make warzone run on all possible platforms. Therefore, we
|
||||
stripped the original code of all proprietary technologies and replaced them
|
||||
with cross-platform and free equivalents, like OpenGL, OpenAL, etc... Right
|
||||
now, Warzone 2100 works very well on Windows and GNU/Linux, and we have even
|
||||
heard of it running on BSD with no particular issue.
|
||||
|
||||
WWW: http://wz.rootzilla.de/site/
|
@ -1,6 +0,0 @@
|
||||
bin/warzone
|
||||
%%DATADIR%%/mp.wz
|
||||
%%DATADIR%%/warzone.wz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user