Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2012 18:34:21 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304283 - in head/games/0ad: . files
Message-ID:  <201209141834.q8EIYLaf082664@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Fri Sep 14 18:34:21 2012
New Revision: 304283
URL: http://svn.freebsd.org/changeset/ports/304283

Log:
  - Update to version 0.0.11 (alpha 11)
  - Trim Makefile header
  
  Approved by:	crees, tabthorpe (mentors, implicit)

Added:
  head/games/0ad/files/patch-build-premake-premake4-build-gmake.bsd-Premake4.make   (contents, props changed)
Deleted:
  head/games/0ad/files/patch-build-premake-premake4-build-gmake.unix-Premake4.make
Modified:
  head/games/0ad/Makefile   (contents, props changed)
  head/games/0ad/distinfo   (contents, props changed)
  head/games/0ad/files/patch-build-premake-premake4.lua   (contents, props changed)

Modified: head/games/0ad/Makefile
==============================================================================
--- head/games/0ad/Makefile	Fri Sep 14 18:10:55 2012	(r304282)
+++ head/games/0ad/Makefile	Fri Sep 14 18:34:21 2012	(r304283)
@@ -1,17 +1,11 @@
-# New ports collection makefile for:    0ad
-# Date created:         13 Jan 2012
-# Whom:                 Guido Falsi <mad@madpilot.net>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	0ad
-DISTVERSION=	alpha.10
-PORTREVISION=	2
+PORTVERSION=	0.0.11
 CATEGORIES=	games
 MASTER_SITES=	SF/zero-ad/releases
-DISTFILES=	${PORTNAME}-${SVNREV}-alpha-unix-build.tar.xz \
-		${PORTNAME}-${SVNREV}-alpha-unix-data.tar.xz
+DISTFILES=	${PORTNAME}-${PORTVERSION}-alpha-unix-build.tar.xz \
+		${PORTNAME}-${PORTVERSION}-alpha-unix-data.tar.xz
 
 MAINTAINER=	madpilot@FreeBSD.org
 COMMENT=	Real-time strategy (RTS) game of ancient warfare
@@ -27,7 +21,7 @@ LIB_DEPENDS=	boost_thread:${PORTSDIR}/de
 		curl:${PORTSDIR}/ftp/curl \
 		gamin-1:${PORTSDIR}/devel/gamin
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${SVNREV}-alpha
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha
 BUILD_WRKSRC=	${WRKSRC}/build/workspaces/gcc
 MAKE_ARGS=	config=release
 USE_GMAKE=	yes
@@ -37,7 +31,7 @@ USE_GNOME=	libxml2 gtk20
 USE_GL=		gl
 USE_OPENAL=	al
 USE_DOS2UNIX=	yes
-DOS2UNIX_REGEX=	.*\.[ch]p{0,2}
+DOS2UNIX_REGEX=	.*\.([ch]p{0,2}|make)
 MAKE_JOBS_SAFE=	yes
 
 USE_WX=		2.8
@@ -47,8 +41,6 @@ MAKE_ENV+=	JOBS=${_MAKE_JOBS}
 
 MANUAL_PACKAGE_BUILD=	yes # huge
 
-SVNREV=	r11863
-
 PORTDATA=	*
 
 .include <bsd.port.pre.mk>

Modified: head/games/0ad/distinfo
==============================================================================
--- head/games/0ad/distinfo	Fri Sep 14 18:10:55 2012	(r304282)
+++ head/games/0ad/distinfo	Fri Sep 14 18:34:21 2012	(r304283)
@@ -1,4 +1,4 @@
-SHA256 (0ad-r11863-alpha-unix-build.tar.xz) = 46c08d380ce098d3d8f577d04d602bb245dfbb7f7da7b1ad009e7a0d4751435f
-SIZE (0ad-r11863-alpha-unix-build.tar.xz) = 8657204
-SHA256 (0ad-r11863-alpha-unix-data.tar.xz) = 76702023402361d27b61eea37034b08e9e19b282e4cdd69954495d2dd087b90a
-SIZE (0ad-r11863-alpha-unix-data.tar.xz) = 310994700
+SHA256 (0ad-0.0.11-alpha-unix-build.tar.xz) = a218c42bce111d0bcb02b3a18eb14d7c06a839b8863df362083ebd0835d3c6a3
+SIZE (0ad-0.0.11-alpha-unix-build.tar.xz) = 8682272
+SHA256 (0ad-0.0.11-alpha-unix-data.tar.xz) = a28dd9160637bc1345223ec6f9c36bb693350e9dcc35a3194f43ed463b3ba20e
+SIZE (0ad-0.0.11-alpha-unix-data.tar.xz) = 350967036

Added: head/games/0ad/files/patch-build-premake-premake4-build-gmake.bsd-Premake4.make
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/0ad/files/patch-build-premake-premake4-build-gmake.bsd-Premake4.make	Fri Sep 14 18:34:21 2012	(r304283)
@@ -0,0 +1,20 @@
+--- build/premake/premake4/build/gmake.bsd/Premake4.make.orig	2012-09-13 04:29:58.196744551 +0200
++++ build/premake/premake4/build/gmake.bsd/Premake4.make	2012-09-13 04:32:48.083760584 +0200
+@@ -24,7 +24,7 @@
+   TARGETDIR  = ../../bin/release
+   TARGET     = $(TARGETDIR)/premake4
+   DEFINES   += -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
+-  INCLUDES  += -I../../src/host/lua-5.1.4/src
++  INCLUDES  += -I../../src/host/lua-5.1.4/src -I$(LOCALBASE)/include/wx-2.8
+   CPPFLAGS  += -MMD -MP $(DEFINES) $(INCLUDES)
+   CFLAGS    += $(CPPFLAGS) -Wall -Os
+   CXXFLAGS  += $(CPPFLAGS) -Wall -Os
+@@ -46,7 +46,7 @@
+   TARGETDIR  = ../../bin/debug
+   TARGET     = $(TARGETDIR)/premake4
+   DEFINES   += -D_DEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
+-  INCLUDES  += -I../../src/host/lua-5.1.4/src
++  INCLUDES  += -I../../src/host/lua-5.1.4/src -I$(LOCALBASE)/include/wx-2.8
+   CPPFLAGS  += -MMD -MP $(DEFINES) $(INCLUDES)
+   CFLAGS    += $(CPPFLAGS) -Wall -g
+   CXXFLAGS  += $(CPPFLAGS) -Wall -g

Modified: head/games/0ad/files/patch-build-premake-premake4.lua
==============================================================================
--- head/games/0ad/files/patch-build-premake-premake4.lua	Fri Sep 14 18:10:55 2012	(r304282)
+++ head/games/0ad/files/patch-build-premake-premake4.lua	Fri Sep 14 18:34:21 2012	(r304283)
@@ -1,14 +1,14 @@
---- build/premake/premake4.lua.orig	2012-02-21 21:27:25.000000000 +0100
-+++ build/premake/premake4.lua	2012-05-17 23:23:30.211530880 +0200
-@@ -215,7 +215,6 @@
+--- build/premake/premake4.lua.orig	2012-08-15 02:10:44.000000000 +0200
++++ build/premake/premake4.lua	2012-09-13 04:13:10.184743291 +0200
+@@ -220,7 +220,6 @@
  
- 				-- enable security features (stack checking etc) that shouldn't have
- 				-- a significant effect on performance and can catch bugs
--				"-fstack-protector-all",
- 				"-D_FORTIFY_SOURCE=2",
+ 					-- enable security features (stack checking etc) that shouldn't have
+ 					-- a significant effect on performance and can catch bugs
+-					"-fstack-protector-all",
+ 					"-D_FORTIFY_SOURCE=2",
  
- 				-- always enable strict aliasing (useful in debug builds because of the warnings)
-@@ -276,11 +275,11 @@
+ 					-- always enable strict aliasing (useful in debug builds because of the warnings)
+@@ -292,11 +291,11 @@
  		-- X11 includes may be installed in one of a gadzillion of three places
  		-- Famous last words: "You can't include too much! ;-)"
  		includedirs {



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