From 1fc66763482634c417343c66ba2e3e0a1be106b2 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Sun, 4 Aug 2002 09:36:57 +0000 Subject: Add marbles 1.0.2, a challenging puzzle game similar to Atomix. PR: 40590 Submitted by: verm@drunkmonk.net --- games/marbles/Makefile | 43 +++++++++++++++++++++++++ games/marbles/distinfo | 1 + games/marbles/pkg-comment | 1 + games/marbles/pkg-descr | 5 +++ games/marbles/pkg-install | 7 +++++ games/marbles/pkg-plist | 80 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 137 insertions(+) create mode 100644 games/marbles/Makefile create mode 100644 games/marbles/distinfo create mode 100644 games/marbles/pkg-comment create mode 100644 games/marbles/pkg-descr create mode 100644 games/marbles/pkg-install create mode 100644 games/marbles/pkg-plist (limited to 'games/marbles') diff --git a/games/marbles/Makefile b/games/marbles/Makefile new file mode 100644 index 000000000000..731103ab7010 --- /dev/null +++ b/games/marbles/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: marbles +# Date created: 12 June 2002 +# Whom: verm@drunkmonk.net +# +# $FreeBSD$ +# + +PORTNAME= marbles +PORTVERSION= 1.0.2 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= lgames + +MAINTAINER= verm@drunkmonk.net + +LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 + +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-profile-path=/var/games +CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl11-config +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's/SDL\///' ${WRKSRC}/src/*.[ch] + @${REINPLACE_CMD} -e 's/^#include "sys\/timeb.h"//' \ + ${WRKSRC}/src/timer.c + @${REINPLACE_CMD} -e 's/games\/marbles/marbles/g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's/if .*marbles.prfs/if false/' \ + ${WRKSRC}/src/Makefile.in + +post-install: + ${INSTALL_DATA} ${WRKSRC}/src/empty.prfs ${DATADIR} + @${CHOWN} root:games ${PREFIX}/bin/marbles + @${CHMOD} g+s ${PREFIX}/bin/marbles + @${SETENV} "PKG_PREFIX=${PREFIX}" \ + ${SH} pkg-install ${PKGNAME} POST-INSTALL +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/src/manual/* ${DOCSDIR} +.endif + +.include diff --git a/games/marbles/distinfo b/games/marbles/distinfo new file mode 100644 index 000000000000..64197791b28e --- /dev/null +++ b/games/marbles/distinfo @@ -0,0 +1 @@ +MD5 (marbles-1.0.2.tar.gz) = 3542b462b212403832d34dccbcc73d5a diff --git a/games/marbles/pkg-comment b/games/marbles/pkg-comment new file mode 100644 index 000000000000..d4ef04a3e152 --- /dev/null +++ b/games/marbles/pkg-comment @@ -0,0 +1 @@ +A challenging puzzle game similar to Atomix diff --git a/games/marbles/pkg-descr b/games/marbles/pkg-descr new file mode 100644 index 000000000000..0feca9815c7d --- /dev/null +++ b/games/marbles/pkg-descr @@ -0,0 +1,5 @@ +Marbles is a game similar to Atomix and was heavily inspired by it. +The goal is to arrange a figure out of single marbles within a time +limit to reach the next level. + +WWW: http://lgames.sourceforge.net/index.php?project=Marbles diff --git a/games/marbles/pkg-install b/games/marbles/pkg-install new file mode 100644 index 000000000000..562b593513f0 --- /dev/null +++ b/games/marbles/pkg-install @@ -0,0 +1,7 @@ +#!/bin/sh + +FILE=/var/games/marbles.prfs +[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0 + +echo "===> Creating initial profile $FILE" +install -o root -g games -m 664 ${PKG_PREFIX}/share/marbles/empty.prfs $FILE diff --git a/games/marbles/pkg-plist b/games/marbles/pkg-plist new file mode 100644 index 000000000000..349240dc5fec --- /dev/null +++ b/games/marbles/pkg-plist @@ -0,0 +1,80 @@ +bin/marbles +share/marbles/empty.prfs +share/marbles/gfx/board.bmp +share/marbles/gfx/f_red.bmp +share/marbles/gfx/f_small.bmp +share/marbles/gfx/f_white.bmp +share/marbles/gfx/f_yellow.bmp +share/marbles/gfx/figure.bmp +share/marbles/gfx/lights.bmp +share/marbles/gfx/logo.bmp +share/marbles/gfx/m_frame.bmp +share/marbles/gfx/m_sframe.bmp +share/marbles/gfx/marbles.bmp +share/marbles/gfx/metal/arrow_d.bmp +share/marbles/gfx/metal/arrow_l.bmp +share/marbles/gfx/metal/arrow_r.bmp +share/marbles/gfx/metal/arrow_u.bmp +share/marbles/gfx/metal/background.bmp +share/marbles/gfx/metal/barrier_lr.bmp +share/marbles/gfx/metal/barrier_ud.bmp +share/marbles/gfx/metal/floor.bmp +share/marbles/gfx/metal/teleport0.bmp +share/marbles/gfx/metal/teleport1.bmp +share/marbles/gfx/metal/teleport2.bmp +share/marbles/gfx/metal/teleport3.bmp +share/marbles/gfx/metal/wall.bmp +share/marbles/gfx/metal/wall_crumble.bmp +share/marbles/gfx/stone/arrow_d.bmp +share/marbles/gfx/stone/arrow_l.bmp +share/marbles/gfx/stone/arrow_r.bmp +share/marbles/gfx/stone/arrow_u.bmp +share/marbles/gfx/stone/background.bmp +share/marbles/gfx/stone/barrier_lr.bmp +share/marbles/gfx/stone/barrier_ud.bmp +share/marbles/gfx/stone/floor.bmp +share/marbles/gfx/stone/teleport0.bmp +share/marbles/gfx/stone/teleport1.bmp +share/marbles/gfx/stone/teleport2.bmp +share/marbles/gfx/stone/teleport3.bmp +share/marbles/gfx/stone/wall.bmp +share/marbles/gfx/stone/wall_crumble.bmp +share/marbles/gfx/tiny.sdlfnt +share/marbles/gfx/title.bmp +share/marbles/gfx/wood/arrow_d.bmp +share/marbles/gfx/wood/arrow_l.bmp +share/marbles/gfx/wood/arrow_r.bmp +share/marbles/gfx/wood/arrow_u.bmp +share/marbles/gfx/wood/background.bmp +share/marbles/gfx/wood/barrier_lr.bmp +share/marbles/gfx/wood/barrier_ud.bmp +share/marbles/gfx/wood/floor.bmp +share/marbles/gfx/wood/teleport0.bmp +share/marbles/gfx/wood/teleport1.bmp +share/marbles/gfx/wood/teleport2.bmp +share/marbles/gfx/wood/teleport3.bmp +share/marbles/gfx/wood/wall.bmp +share/marbles/gfx/wood/wall_crumble.bmp +share/marbles/levels/Original +share/marbles/sound/alarm.wav +share/marbles/sound/arrow.wav +share/marbles/sound/click.wav +share/marbles/sound/explode.wav +share/marbles/sound/score.wav +share/marbles/sound/select.wav +share/marbles/sound/stop.wav +share/marbles/sound/teleport.wav +%%PORTDOCS%%share/doc/marbles/arrow.jpg +%%PORTDOCS%%share/doc/marbles/arrow2.jpg +%%PORTDOCS%%share/doc/marbles/crumble.jpg +%%PORTDOCS%%share/doc/marbles/manual.html +%%PORTDOCS%%share/doc/marbles/marbles.jpg +%%PORTDOCS%%share/doc/marbles/teleport.jpg +%%PORTDOCS%%@dirrm share/doc/marbles +@dirrm share/marbles/gfx/metal +@dirrm share/marbles/gfx/stone +@dirrm share/marbles/gfx/wood +@dirrm share/marbles/gfx +@dirrm share/marbles/levels +@dirrm share/marbles/sound +@dirrm share/marbles -- cgit v1.2.3