- add new port: games/magicmaze

Magic Maze is a simple and low-tech monster-bashing maze game.

It was originally inspired by playing Gauntlet II on the Atari ST.

WWW: http://magicmaze.rubyforge.org/

PR:		170774
Submitted by:	nemysis@gmx.ch
Feature safe:	yes
This commit is contained in:
Jason Helfman 2012-12-05 00:53:09 +00:00
parent 9dc70edf6c
commit 0269689024
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308293
5 changed files with 66 additions and 0 deletions

View File

@ -534,6 +534,7 @@
SUBDIR += madbomber
SUBDIR += maelstrom
SUBDIR += magiccube4d
SUBDIR += magicmaze
SUBDIR += magicor
SUBDIR += mahjong
SUBDIR += maitretarot

51
games/magicmaze/Makefile Normal file
View File

@ -0,0 +1,51 @@
# Created by: nemysis@gmx.ch
#
# $FreeBSD$
#
PORTNAME= magicmaze
PORTVERSION= 1.4.3.6
CATEGORIES= games ruby
MASTER_SITES= RUBYFORGE
DISTNAME= ${PORTNAME}-${DISTVERSION:S/./_/g}
MAINTAINER= nemysis@gmx.ch
COMMENT= Simple and low-tech monster-bashing maze game
LICENSE= GPLv2
RUN_DEPENDS= ruby18-sdl>=1.3:${PORTSDIR}/devel/ruby-sdl
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:S/./_/g}
USE_SDL= sdl image mixer
USE_RUBY= yes
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
PORTDATA= *
PORTDOCS= *
SUB_FILES= ${PORTNAME}
SUB_LIST= RUBY=${RUBY}
DESKTOP_ENTRIES="Magic Maze" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
.include <bsd.port.options.mk>
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.rb ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data magicmaze" ${DATADIR})
${INSTALL_DATA} ${WRKSRC}/data/gfx/icon.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.TXT ${WRKSRC}/doc/BUGS.TXT ${WRKSRC}/doc/TODO.TXT ${DOCSDIR}
.endif
.include <bsd.port.mk>

2
games/magicmaze/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (magicmaze-1_4_3_6.tar.gz) = a8689e5f4210314ee1b3dc7b2a19e7b7c95bf94eb06f29418b98dfe383130624
SIZE (magicmaze-1_4_3_6.tar.gz) = 130065

View File

@ -0,0 +1,7 @@
#!/bin/sh
#
# $FreeBSD$
#
cd "%%DATADIR%%"
exec %%RUBY%% mm.rb

View File

@ -0,0 +1,5 @@
Magic Maze is a simple and low-tech monster-bashing maze game.
It was originally inspired by playing Gauntlet II on the Atari ST.
WWW: http://magicmaze.rubyforge.org/