aboutsummaryrefslogtreecommitdiff
path: root/games/blockrage
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2012-05-11 15:47:42 +0000
committerMarcus von Appen <mva@FreeBSD.org>2012-05-11 15:47:42 +0000
commitcb51d3235a6eb2d326338f29e5f72e31d9363564 (patch)
treec37a29bf6d8a779b49e73748716e4802d1e1d648 /games/blockrage
parente51ad12d6590f9d7dd395b9ba75d4f96a6d2c7b6 (diff)
downloadports-cb51d3235a6eb2d326338f29e5f72e31d9363564.tar.gz
ports-cb51d3235a6eb2d326338f29e5f72e31d9363564.zip
Notes
Diffstat (limited to 'games/blockrage')
-rw-r--r--games/blockrage/Makefile54
-rw-r--r--games/blockrage/distinfo2
-rw-r--r--games/blockrage/files/patch-configure13
-rw-r--r--games/blockrage/pkg-descr5
4 files changed, 74 insertions, 0 deletions
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 <bsd.port.mk>
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/