Import astromenace-1.3.2.

Space is a vast area, an unbounded territory where it seems there is a
room for everybody, but reversal of fortune put things differently. The
hordes of hostile creatures crawled out from the dark corners of the
universe, craving to conquer your homeland. Their force is compelling,
their legions are interminable. However, humans didn't give up without a
final showdown and put their best pilot to fight back. These malicious
invaders chose the wrong galaxy to conquer and you are to prove it! Go
ahead and make alien aggressors regret their insolence.

AstroMenace is a vertical space shoot-em-up with 3D graphics featuring
customizable ships.

ok landry@
This commit is contained in:
bentley 2015-12-10 01:33:11 +00:00
parent bc6dba8434
commit ebdd6b6d32
5 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/12/10 01:33:11 bentley Exp $
COMMENT = hardcore 3D space shmup
V = 1.3.2
DISTNAME = astromenace-src-$V
PKGNAME = astromenace-$V
CATEGORIES = games
HOMEPAGE = http://www.viewizard.com/
# code GPLv3+, data a mix of GPLv3+, CC BY-SA 3.0, SIL OFL 1.1
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += GL GLU ICE SDL SM X11 Xext Xinerama alut c fontconfig
WANTLIB += freetype m ogg openal pthread stdc++ vorbis vorbisfile
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=openastromenace/}
EXTRACT_SUFX = .tar.bz2
MODULES = devel/cmake
LIB_DEPENDS = audio/freealut \
audio/libvorbis \
audio/openal \
devel/sdl
CONFIGURE_ARGS += -DDATADIR=${PREFIX}/share/astromenace
NO_TEST = Yes
WRKDIST = ${WRKDIR}/AstroMenace
do-install:
cd ${WRKSRC} && \
${WRKBUILD}/AstroMenace --pack --rawdata=./RAW_VFS_DATA --dir=.
${INSTALL_PROGRAM} ${WRKBUILD}/AstroMenace ${PREFIX}/bin/astromenace
${INSTALL_DATA_DIR} ${PREFIX}/share/astromenace/
${INSTALL_DATA} ${WRKSRC}/gamedata.vfs ${PREFIX}/share/astromenace/
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (astromenace-src-1.3.2.tar.bz2) = m3dd8rFXVluXrKAI3YebhnzTN3wHuCnO5rU0Jjk1f+Y=
SIZE (astromenace-src-1.3.2.tar.bz2) = 55390211

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-AstroMenaceSource_config_h,v 1.1.1.1 2015/12/10 01:33:11 bentley Exp $
--- AstroMenaceSource/config.h.orig Mon Dec 7 00:38:50 2015
+++ AstroMenaceSource/config.h Mon Dec 7 00:38:51 2015
@@ -31,6 +31,8 @@
#define GAME_VERSION "1.3.2"
#define GAME_BUILD 130712
+#define __unix
+
// VBO OpenGL extention support switcher (if defined - game will detect and use VBO) Game could crash
// in FreeBSD under VirtualBox if vbo are used. Added just in case, if hardware capabilities detection fail.

View File

@ -0,0 +1,11 @@
Space is a vast area, an unbounded territory where it seems there is a
room for everybody, but reversal of fortune put things differently. The
hordes of hostile creatures crawled out from the dark corners of the
universe, craving to conquer your homeland. Their force is compelling,
their legions are interminable. However, humans didn't give up without a
final showdown and put their best pilot to fight back. These malicious
invaders chose the wrong galaxy to conquer and you are to prove it! Go
ahead and make alien aggressors regret their insolence.
AstroMenace is a vertical space shoot-em-up with 3D graphics featuring
customizable ships.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/12/10 01:33:11 bentley Exp $
@bin bin/astromenace
share/astromenace/
share/astromenace/gamedata.vfs