diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-12-05 00:53:09 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-12-05 00:53:09 +0000 |
commit | 02696890242eda82c62a2fcdf26137524a2b1e35 (patch) | |
tree | d1e2d5697a6c1f73ab0eda2d0935e5dc96ca732a /games/magicmaze | |
parent | 9dc70edf6c821893130272abd8e6eca0c5d61ca5 (diff) | |
download | ports-02696890242eda82c62a2fcdf26137524a2b1e35.tar.gz ports-02696890242eda82c62a2fcdf26137524a2b1e35.zip |
Notes
Diffstat (limited to 'games/magicmaze')
-rw-r--r-- | games/magicmaze/Makefile | 51 | ||||
-rw-r--r-- | games/magicmaze/distinfo | 2 | ||||
-rw-r--r-- | games/magicmaze/files/magicmaze.in | 7 | ||||
-rw-r--r-- | games/magicmaze/pkg-descr | 5 |
4 files changed, 65 insertions, 0 deletions
diff --git a/games/magicmaze/Makefile b/games/magicmaze/Makefile new file mode 100644 index 000000000000..dc328f9c8c97 --- /dev/null +++ b/games/magicmaze/Makefile @@ -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> diff --git a/games/magicmaze/distinfo b/games/magicmaze/distinfo new file mode 100644 index 000000000000..e21f1589ad15 --- /dev/null +++ b/games/magicmaze/distinfo @@ -0,0 +1,2 @@ +SHA256 (magicmaze-1_4_3_6.tar.gz) = a8689e5f4210314ee1b3dc7b2a19e7b7c95bf94eb06f29418b98dfe383130624 +SIZE (magicmaze-1_4_3_6.tar.gz) = 130065 diff --git a/games/magicmaze/files/magicmaze.in b/games/magicmaze/files/magicmaze.in new file mode 100644 index 000000000000..ddfa90169790 --- /dev/null +++ b/games/magicmaze/files/magicmaze.in @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +cd "%%DATADIR%%" +exec %%RUBY%% mm.rb diff --git a/games/magicmaze/pkg-descr b/games/magicmaze/pkg-descr new file mode 100644 index 000000000000..e0e50152de76 --- /dev/null +++ b/games/magicmaze/pkg-descr @@ -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/ |