diff options
author | rakuco <rakuco@FreeBSD.org> | 2012-08-27 01:09:37 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2012-08-27 01:09:37 +0800 |
commit | 2d2d6bccf1311fd179cb98bd5194db9ebed9f136 (patch) | |
tree | ce877c25be5f6e0ca1e0f2265f69ab77f6122195 /games | |
parent | 959c2998a6411d9c637748efb4cec8beba429b82 (diff) | |
download | freebsd-ports-gnome-2d2d6bccf1311fd179cb98bd5194db9ebed9f136.tar.gz freebsd-ports-gnome-2d2d6bccf1311fd179cb98bd5194db9ebed9f136.tar.zst freebsd-ports-gnome-2d2d6bccf1311fd179cb98bd5194db9ebed9f136.zip |
- 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]
Diffstat (limited to 'games')
-rw-r--r-- | games/openastromenace/Makefile | 30 | ||||
-rw-r--r-- | games/openastromenace/files/patch-AstroMenaceSource-Core-RendererInterface-RendererInterface.h | 11 |
2 files changed, 27 insertions, 14 deletions
diff --git a/games/openastromenace/Makefile b/games/openastromenace/Makefile index 126fdb056c05..6f13f543d74c 100644 --- a/games/openastromenace/Makefile +++ b/games/openastromenace/Makefile @@ -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 spaceship upgrade possibilities 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) diff --git a/games/openastromenace/files/patch-AstroMenaceSource-Core-RendererInterface-RendererInterface.h b/games/openastromenace/files/patch-AstroMenaceSource-Core-RendererInterface-RendererInterface.h new file mode 100644 index 000000000000..2ff76d1da8a5 --- /dev/null +++ b/games/openastromenace/files/patch-AstroMenaceSource-Core-RendererInterface-RendererInterface.h @@ -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 |