Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 00:53:27 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547226 - in head/games: . blockattack
Message-ID:  <202009010053.0810rRxH061745@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Sep  1 00:53:27 2020
New Revision: 547226
URL: https://svnweb.freebsd.org/changeset/ports/547226

Log:
  games/blockattack: add new port
  
  Block Attack - Rise of the Blocks is a puzzle/blockfall game inspired
  by Nintendo's Tetris Attack (or "Panel de Pon") for the Super
  Nintendo. It might seem like any other match-3 style game but it is
  generally much faster. The game requires fast decisions compared to
  other puzzle games. While you can setup the perfect chain it is much
  more likely that you will construct chains while blocks are still
  dropping around you.
  
  In addition to traditional game types like endless, time trial and
  stage clear the game does also feature a VS-mode. The VS mode is a
  dual like you rarely see in a puzzle game.
  
  Features:
  - No loot boxes
  - 5 single player modes: Endless, Time Trial, Puzzle Mode, Stage Clear and Vs. Mode
  - 2 two player options: Time Trial and Vs. Mode
  - Puzzle mode with 27 puzzles
  - Custom keymapping
  - High scores are saved
  - Gamepad support
  - Mouse support
  - Touch support
  - Music and sound effects
  - Animations
  
  https://blockattack.net/

Added:
  head/games/blockattack/
  head/games/blockattack/Makefile   (contents, props changed)
  head/games/blockattack/distinfo   (contents, props changed)
  head/games/blockattack/pkg-descr   (contents, props changed)
  head/games/blockattack/pkg-plist   (contents, props changed)
Modified:
  head/games/Makefile   (contents, props changed)

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Tue Sep  1 00:53:21 2020	(r547225)
+++ head/games/Makefile	Tue Sep  1 00:53:27 2020	(r547226)
@@ -94,6 +94,7 @@
     SUBDIR += blobby
     SUBDIR += blobwars
     SUBDIR += block
+    SUBDIR += blockattack
     SUBDIR += blockout
     SUBDIR += blockrage
     SUBDIR += blokish

Added: head/games/blockattack/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/blockattack/Makefile	Tue Sep  1 00:53:27 2020	(r547226)
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME=	blockattack
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.5.0
+CATEGORIES=	games
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Puzzle game inspired by Tetris
+
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	zip:archivers/zip \
+		${LOCALBASE}/include/utf8.h:devel/utf8cpp
+LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs \
+		libphysfs.so:devel/physfs
+
+USES=		cmake gettext localbase:ldflags pkgconfig sdl shebangfix
+USE_GITHUB=	yes
+USE_SDL=	image2 mixer2 ttf2
+GH_PROJECT=	${PORTNAME}-game
+SHEBANG_FILES=	packdata.sh source/misc/translation/*.sh
+bash_CMD=	/bin/sh
+LDFLAGS+=	-lintl
+
+post-patch:
+# Respect PREFIX when looking for data directories
+	@${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
+		-e 's,/usr/local,${PREFIX},' \
+		${WRKSRC}/source/code/sago/platform_folders.cpp
+
+post-build:
+# Generate game data and translations
+	@(cd ${WRKSRC} && ${WRKSRC}/packdata.sh)
+
+.include <bsd.port.mk>

Added: head/games/blockattack/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/blockattack/distinfo	Tue Sep  1 00:53:27 2020	(r547226)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558793173
+SHA256 (blockattack-blockattack-game-v2.5.0_GH0.tar.gz) = 8fbb8b5e853c6a73f8fadc034030b0886bb928484ef4aac4e2c3806346e45ad8
+SIZE (blockattack-blockattack-game-v2.5.0_GH0.tar.gz) = 6801500

Added: head/games/blockattack/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/blockattack/pkg-descr	Tue Sep  1 00:53:27 2020	(r547226)
@@ -0,0 +1,27 @@
+Block Attack - Rise of the Blocks is a puzzle/blockfall game inspired
+by Nintendo's Tetris Attack (or "Panel de Pon") for the Super
+Nintendo. It might seem like any other match-3 style game but it is
+generally much faster. The game requires fast decisions compared to
+other puzzle games. While you can setup the perfect chain it is much
+more likely that you will construct chains while blocks are still
+dropping around you.
+
+In addition to traditional game types like endless, time trial and
+stage clear the game does also feature a VS-mode. The VS mode is a
+dual like you rarely see in a puzzle game.
+
+Features:
+- No loot boxes
+- 5 single player modes: Endless, Time Trial, Puzzle Mode, Stage Clear
+  and Vs. Mode
+- 2 two player options: Time Trial and Vs. Mode
+- Puzzle mode with 27 puzzles
+- Custom keymapping
+- High scores are saved
+- Gamepad support
+- Mouse support
+- Touch support
+- Music and sound effects
+- Animations
+
+WWW: https://blockattack.net/

Added: head/games/blockattack/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/blockattack/pkg-plist	Tue Sep  1 00:53:27 2020	(r547226)
@@ -0,0 +1,12 @@
+bin/blockattack
+share/applications/blockattack.desktop
+%%DATADIR%%/blockattack.data
+%%DATADIR%%/locale/da/LC_MESSAGES/blockattack_roftb.mo
+share/icons/hicolor/128x128/apps/blockattack.xpm
+share/icons/hicolor/16x16/apps/blockattack.xpm
+share/icons/hicolor/256x256/apps/blockattack.xpm
+share/icons/hicolor/32x32/apps/blockattack.xpm
+share/icons/hicolor/48x48/apps/blockattack.xpm
+share/icons/hicolor/64x64/apps/blockattack.xpm
+share/man/man6/blockattack.6.gz
+share/metainfo/net.blockattack.game.metainfo.xml



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