Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2012 17:09:38 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303193 - in head/games/openastromenace: . files
Message-ID:  <201208261709.q7QH9cCm054968@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Aug 26 17:09:37 2012
New Revision: 303193
URL: http://svn.freebsd.org/changeset/ports/303193

Log:
  - Fix the build and remove the BROKEN mark. [1]
  - Convert to OptionsNG.
  
  PR:		ports/171018
  Submitted by:	Green Dog <fiziologus@gmail.com>
  Approved by:	oleg alexeenkov <proler@gmail.com> (maintainer)
  Obtained from:	https://bugs.gentoo.org/show_bug.cgi?id=288340 [1]

Added:
  head/games/openastromenace/files/patch-AstroMenaceSource-Core-RendererInterface-RendererInterface.h   (contents, props changed)
Modified:
  head/games/openastromenace/Makefile

Modified: head/games/openastromenace/Makefile
==============================================================================
--- head/games/openastromenace/Makefile	Sun Aug 26 16:56:32 2012	(r303192)
+++ head/games/openastromenace/Makefile	Sun Aug 26 17:09:37 2012	(r303193)
@@ -9,10 +9,12 @@ PORTNAME=	openastromenace
 PORTVERSION=	1.2.0
 PORTREVISION=	11
 CATEGORIES=	games
-MASTER_SITES=	SF
-DISTFILES=	openamenace-src-${PORTVERSION}${EXTRACT_SUFX} \
-		oamenace-data-${PORTVERSION}${EXTRACT_SUFX} \
-		oamenace-lang-${LANGPACK}-${PORTVERSION}${EXTRACT_SUFX}
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S/$/:source,data/}
+DISTFILES=	openamenace-src-${PORTVERSION}${EXTRACT_SUFX}:source \
+		oamenace-data-1.2.0.tar.bz2:data \
+		oamenace-lang-${LANGPACK}-${PORTVERSION}${EXTRACT_SUFX}:data
+MASTER_SITE_SUBDIR=     openastromenace/openastromenace/1.2.0/:source \
+                        openastromenace/openastromenace%20vfs/1.2.0/:data
 
 MAINTAINER=	proler@gmail.com
 COMMENT=	Hardcore 3D space shooter with spaceship upgrade possibilities
@@ -20,8 +22,6 @@ COMMENT=	Hardcore 3D space shooter with 
 LIB_DEPENDS+=	vorbisfile:${PORTSDIR}/audio/libvorbis \
 		jpeg:${PORTSDIR}/graphics/jpeg
 
-BROKEN=		does not compile
-
 USE_BZIP2=	yes
 USE_GL=		gl glu
 USE_OPENAL=	al alut
@@ -31,20 +31,22 @@ USE_CMAKE=	yes
 WRKSRC=		${WRKDIR}/OpenAstroMenaceSVN
 USE_DOS2UNIX=	yes
 
-OPTIONS=	EN	"English language pack"	on \
-		DE	"German language pack"	off \
-		RU	"Russian language pack"	off
+OPTIONS_SINGLE=	LANG
+OPTIONS_SINGLE_LANG=	EN DE RU
+OPTIONS_DEFAULT=EN
+
+EN_DESC=	"English language pack"
+DE_DESC=	"German language pack"
+RU_DESC=	"Russian language pack"
 
 .include <bsd.port.pre.mk>
 
-.if !defined(WITHOUT_EN)
+.if ${PORT_OPTIONS:MEN}
 LANGPACK=	en
-.elif defined(WITH_DE)
+.elif ${PORT_OPTIONS:MDE}
 LANGPACK=	de
-.elif defined(WITH_RU)
+.elif ${PORT_OPTIONS:MRU}
 LANGPACK=	ru
-.else
-IGNORE=		cannot be build without/with multiple language packs. Please rerun 'make config' and select single language pack
 .endif
 
 .if !defined(WITHOUT_NOUVEAU)

Added: head/games/openastromenace/files/patch-AstroMenaceSource-Core-RendererInterface-RendererInterface.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/openastromenace/files/patch-AstroMenaceSource-Core-RendererInterface-RendererInterface.h	Sun Aug 26 17:09:37 2012	(r303193)
@@ -0,0 +1,11 @@
+--- AstroMenaceSource/Core/RendererInterface/RendererInterface.h.orig	2012-08-25 13:33:11.000000000 +0400
++++ AstroMenaceSource/Core/RendererInterface/RendererInterface.h	2012-08-25 13:36:09.000000000 +0400
+@@ -37,7 +37,7 @@
+ #include "../Base.h"
+ #include "../Math/Math.h"
+ #include "../Texture/Texture.h"
+-
++#define PFNGLCLIENTACTIVETEXTUREPROC PFNGLACTIVETEXTUREPROC
+ 
+ 
+ struct eDevCaps
\ No newline at end of file



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