From cb51d3235a6eb2d326338f29e5f72e31d9363564 Mon Sep 17 00:00:00 2001 From: Marcus von Appen Date: Fri, 11 May 2012 15:47:42 +0000 Subject: [PATCH] Block Rage is a falling blocks game with a 2-player hotseat mode, detailed graphics and animated plasmatic backgrounds. It is a remake of the awesome DOS classic Xixit. WWW: http://blockrage.sourceforge.net/ PR: ports/167395 Submitted by: nemysis@gmx.ch --- games/Makefile | 1 + games/blockrage/Makefile | 54 +++++++++++++++++++++++++++ games/blockrage/distinfo | 2 + games/blockrage/files/patch-configure | 13 +++++++ games/blockrage/pkg-descr | 5 +++ 5 files changed, 75 insertions(+) create mode 100644 games/blockrage/Makefile create mode 100644 games/blockrage/distinfo create mode 100644 games/blockrage/files/patch-configure create mode 100644 games/blockrage/pkg-descr diff --git a/games/Makefile b/games/Makefile index 5a03649f5faf..7ceb27ee2018 100644 --- a/games/Makefile +++ b/games/Makefile @@ -80,6 +80,7 @@ SUBDIR += bloboats SUBDIR += block SUBDIR += blockade + SUBDIR += blockrage SUBDIR += blockout SUBDIR += blokish SUBDIR += bloodfrontier diff --git a/games/blockrage/Makefile b/games/blockrage/Makefile new file mode 100644 index 000000000000..32541308eab0 --- /dev/null +++ b/games/blockrage/Makefile @@ -0,0 +1,54 @@ +# New Ports collection makefile for: blockrage +# Date created: 2012-04-28 +# Whom: nemysis@gmx.ch +# +# $FreeBSD$ +# + +PORTNAME= blockrage +PORTVERSION= 0.2.3 +CATEGORIES= games +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} + +MAINTAINER= nemysis@gmx.ch +COMMENT= Block Rage is falling blocks game with a 2-player hotseat mode + +LICENSE= GPLv2 + +GNU_CONFIGURE= yes +ALL_TARGET= ${PORTNAME} +USE_SDL= sdl image mixer +MAKE_JOBS_SAFE= yes + +PLIST_FILES= bin/blockrage + +MAN6= blockrage.6 + +PORTDATA= * +PORTDOCS= ChangeLog KNOWN_BUGS README TODO + +do-install: +# Scripts + @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\ + ./blockrage\n" > ${WRKDIR}/blockrage.sh + @${INSTALL_SCRIPT} ${WRKDIR}/blockrage.sh ${PREFIX}/bin/blockrage +# Executable + ${MKDIR} ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/blockrage ${DATADIR} + +post-install: + ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MAN6PREFIX}/man/man6 +# Data +.for d in data blockrage-fhs.rc blockrage.cfg blockrage.rc + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) +.endfor + +# Documentations +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +. for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +. endfor +.endif + +.include diff --git a/games/blockrage/distinfo b/games/blockrage/distinfo new file mode 100644 index 000000000000..f8295934609e --- /dev/null +++ b/games/blockrage/distinfo @@ -0,0 +1,2 @@ +SHA256 (blockrage-0.2.3.tar.gz) = f9722e519fb74be2ecb9377fd2470c94382088a67df33acea215fd0a5a0b4cb6 +SIZE (blockrage-0.2.3.tar.gz) = 75620 diff --git a/games/blockrage/files/patch-configure b/games/blockrage/files/patch-configure new file mode 100644 index 000000000000..a7ff15a0c120 --- /dev/null +++ b/games/blockrage/files/patch-configure @@ -0,0 +1,13 @@ +--- configure.orig 2005-10-24 21:47:16.000000000 +0200 ++++ configure 2012-05-03 01:41:10.000000000 +0200 +@@ -39,8 +39,8 @@ + #SOUND_OPT=-DNOSOUND + SOUND_OPT= + +-MYCC=gcc +-MYCFLAGS='-s -O2 -Wall `sdl-config --cflags`'" $SOUND_OPT -DSYSCONFDIR=\\\"\${sysconfdir}/\${progname}\\\"" ++MYCC= ++MYCFLAGS='-s `sdl-config --cflags`'" $SOUND_OPT -DSYSCONFDIR=\\\"\${sysconfdir}/\${progname}\\\"" + + if test -z "$CC" ; then + CC="$MYCC"; diff --git a/games/blockrage/pkg-descr b/games/blockrage/pkg-descr new file mode 100644 index 000000000000..33de01005e27 --- /dev/null +++ b/games/blockrage/pkg-descr @@ -0,0 +1,5 @@ +Block Rage is falling blocks game with a 2-player hotseat mode, +detailed graphics and animated plasmatic backgrounds. +It is a remake of the awesome DOS classic Xixit. + +WWW: http://blockrage.sourceforge.net/