Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 19:10:43 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311258 - in head/games/warzone2100: . files
Message-ID:  <201301301910.r0UJAhdF054587@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jan 30 19:10:42 2013
New Revision: 311258
URL: http://svnweb.freebsd.org/changeset/ports/311258

Log:
  - Update to 3.1.0

Added:
  head/games/warzone2100/files/patch-lib-netplay-netsocket.cpp
     - copied, changed from r310798, head/games/warzone2100/files/patch-lib-netplay-netplay.c
Deleted:
  head/games/warzone2100/files/patch-configure
  head/games/warzone2100/files/patch-lib-netplay-netplay.c
Modified:
  head/games/warzone2100/Makefile
  head/games/warzone2100/distinfo
  head/games/warzone2100/pkg-plist

Modified: head/games/warzone2100/Makefile
==============================================================================
--- head/games/warzone2100/Makefile	Wed Jan 30 19:05:39 2013	(r311257)
+++ head/games/warzone2100/Makefile	Wed Jan 30 19:10:42 2013	(r311258)
@@ -1,39 +1,39 @@
-# New ports collection makefile for:	warzone2100
-# Date created:				21 Aug 2005
-# Whom:					Alejandro Pulver <alejandro@varnet.biz>
-#
+# Create by: Alejandro Pulver <alejandro@varnet.biz>
 # $FreeBSD$
-#
 
 PORTNAME=	warzone2100
-PORTVERSION=	2.3.9
-PORTREVISION=	3
+PORTVERSION=	3.1.0
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/releases/${PORTVERSION}/
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Innovative 3D real-time strategy game
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip \
 		unzip:${PORTSDIR}/archivers/unzip \
 		${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
-LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
-		mad.2:${PORTSDIR}/audio/libmad \
-		ogg:${PORTSDIR}/audio/libogg \
-		physfs.1:${PORTSDIR}/devel/physfs \
+LIB_DEPENDS=	physfs:${PORTSDIR}/devel/physfs \
 		png15:${PORTSDIR}/graphics/png \
-		vorbis.4:${PORTSDIR}/audio/libvorbis \
-		GLC.0:${PORTSDIR}/graphics/quesoglc \
-		theora.0:${PORTSDIR}/multimedia/libtheora \
-		popt.0:${PORTSDIR}/devel/popt
+		vorbis:${PORTSDIR}/audio/libvorbis \
+		theora:${PORTSDIR}/multimedia/libtheora \
+		GLEW:${PORTSDIR}/graphics/glew \
+		fribidi:${PORTSDIR}/converters/fribidi \
+		freetype:${PORTSDIR}/print/freetype2 \
+		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
 RUN_DEPENDS=	${LOCALBASE}/lib/X11/fonts/dejavu/DejaVuSans.ttf:${PORTSDIR}/x11-fonts/dejavu
 
+USE_XZ=		yes
 USE_BISON=	build
 GNU_CONFIGURE=	yes
 USE_OPENAL=	al
 USE_GL=		yes
 USE_GMAKE=	yes
-USE_SDL=	net sdl
+USE_SDL=	sdl
+USE_QT4=	corelib network script gui moc_build
+QT_NONSTANDARD=	yes
 CONFIGURE_ARGS=	--program-transform-name="" --with-distributor="FreeBSD ports"
 CONFIGURE_ENV=	LIBS="${PTHREAD_LIBS}" \
 		PATH="${LOCALBASE}/bin:$$PATH"
@@ -42,8 +42,15 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 REINPLACE_ARGS=	-i ''
 MAKE_JOBS_SAFE=	yes
 PORTDOCS=	*
+USE_GCC=	4.6+
+
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 800000
+IGNORE=		does not build on < 8.x
+.endif
 
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 PLIST_SUB+=	NLS=""
 .else
@@ -52,30 +59,12 @@ PLIST_SUB+=	NLS="@comment "
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e '/_XOPEN_SOURCE/ d' ${WRKSRC}/config.h.in
-	@${REINPLACE_CMD} -e 's|NSIG|32|g; s|SIGPOLL|SIGIO|g' \
-		${WRKSRC}/lib/exceptionhandler/exceptionhandler.c
-	@${REINPLACE_CMD} -e '/include.*alloca/ d' \
-		${WRKSRC}/lib/framework/config-macosx.h \
-		${WRKSRC}/lib/framework/resource_parser.tab.c \
-		${WRKSRC}/lib/framework/strres_parser.tab.c \
-		${WRKSRC}/lib/framework/wzglobal.h \
-		${WRKSRC}/lib/gamelib/audp_parser.tab.c \
-		${WRKSRC}/lib/script/chat_parser.tab.c \
-		${WRKSRC}/lib/script/script_parser.tab.c \
-		${WRKSRC}/src/message_parser.tab.c \
-		${WRKSRC}/src/scriptvals_parser.tab.c
-	@${REINPLACE_CMD} -e 's|-m32||; s|-Werror||g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \
-		${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e '/typedef void (\*__GLXextFuncPtr)(void);/d' \
-		${WRKSRC}/lib/ivis_opengl/GLee.h
-.if defined(NOPORTDOCS)
+	@${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/configure
+.if ! ${PORT_OPTIONS:MDOCS}
 	@${REINPLACE_CMD} -Ee 's|install-dist_docDATA$$||' \
 		${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e 's|^install: install-am|install:|' \
 		${WRKSRC}/doc/Makefile.in
-.else
 .endif
 
 .include <bsd.port.mk>

Modified: head/games/warzone2100/distinfo
==============================================================================
--- head/games/warzone2100/distinfo	Wed Jan 30 19:05:39 2013	(r311257)
+++ head/games/warzone2100/distinfo	Wed Jan 30 19:10:42 2013	(r311258)
@@ -1,2 +1,2 @@
-SHA256 (warzone2100-2.3.9.tar.gz) = 9e843bb752c9c4798b8e6ea0edfb625f9aa2f2ba8cbfe42e31ab1c6aa9267adb
-SIZE (warzone2100-2.3.9.tar.gz) = 62509972
+SHA256 (warzone2100-3.1.0.tar.xz) = c3e24b0a2703ffe5b171401e0eb9decbe9b130d6478e64300ccfb73a60f61c03
+SIZE (warzone2100-3.1.0.tar.xz) = 67316000

Copied and modified: head/games/warzone2100/files/patch-lib-netplay-netsocket.cpp (from r310798, head/games/warzone2100/files/patch-lib-netplay-netplay.c)
==============================================================================
--- head/games/warzone2100/files/patch-lib-netplay-netplay.c	Tue Jan 22 03:00:30 2013	(r310798, copy source)
+++ head/games/warzone2100/files/patch-lib-netplay-netsocket.cpp	Wed Jan 30 19:10:42 2013	(r311258)
@@ -1,6 +1,6 @@
---- lib/netplay/netplay.c.orig	2010-08-12 01:53:49.000000000 +0400
-+++ lib/netplay/netplay.c	2010-11-09 03:37:53.000000000 +0300
-@@ -1231,9 +1231,6 @@
+--- lib/netplay/netsocket.cpp.orig	2013-01-15 03:54:07.000000000 +0400
++++ lib/netplay/netsocket.cpp	2013-01-18 19:32:35.110932805 +0400
+@@ -1399,9 +1399,6 @@
  	hint.ai_family    = AF_UNSPEC;
  	hint.ai_socktype  = SOCK_STREAM;
  	hint.ai_protocol  = 0;

Modified: head/games/warzone2100/pkg-plist
==============================================================================
--- head/games/warzone2100/pkg-plist	Wed Jan 30 19:05:39 2013	(r311257)
+++ head/games/warzone2100/pkg-plist	Wed Jan 30 19:10:42 2013	(r311258)
@@ -5,6 +5,7 @@ share/icons/warzone2100.png
 %%NLS%%share/locale/cs/LC_MESSAGES/warzone2100.mo
 %%NLS%%share/locale/da/LC_MESSAGES/warzone2100.mo
 %%NLS%%share/locale/de/LC_MESSAGES/warzone2100.mo
+%%NLS%%share/locale/el/LC_MESSAGES/warzone2100.mo
 %%NLS%%share/locale/en_GB/LC_MESSAGES/warzone2100.mo
 %%NLS%%share/locale/es/LC_MESSAGES/warzone2100.mo
 %%NLS%%share/locale/et_EE/LC_MESSAGES/warzone2100.mo
@@ -32,9 +33,6 @@ share/icons/warzone2100.png
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/warzone2100.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/warzone2100.mo
 %%DATADIR%%/base.wz
-%%DATADIR%%/mods/multiplay/dydo-ai.wz
-%%DATADIR%%/mods/multiplay/ntw.wz
-%%DATADIR%%/mods/multiplay/old-1.10-balance.wz
 %%DATADIR%%/mp.wz
 %%DATADIR%%/music/menu.ogg
 %%DATADIR%%/music/music.wpl
@@ -42,8 +40,6 @@ share/icons/warzone2100.png
 %%DATADIR%%/music/track2.ogg
 %%DATADIR%%/music/track3.ogg
 @dirrm %%DATADIR%%/music
-@dirrm %%DATADIR%%/mods/multiplay
-@dirrm %%DATADIR%%/mods
 @dirrm %%DATADIR%%
 %%NLS%%@dirrmtry share/locale/uk_UA/LC_MESSAGES
 %%NLS%%@dirrmtry share/locale/uk_UA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301301910.r0UJAhdF054587>