diff options
author | Mark Pulford <markp@FreeBSD.org> | 2002-08-04 09:36:57 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2002-08-04 09:36:57 +0000 |
commit | 1fc66763482634c417343c66ba2e3e0a1be106b2 (patch) | |
tree | 628511469d13a0e9f2f048faace4bd30cd0ebf82 /games/marbles | |
parent | 1. Explicitly added USE_QT_VER and USE_KDELIBS_VER. (diff) |
Add marbles 1.0.2, a challenging puzzle game similar to Atomix.
PR: 40590
Submitted by: verm@drunkmonk.net
Diffstat (limited to 'games/marbles')
-rw-r--r-- | games/marbles/Makefile | 43 | ||||
-rw-r--r-- | games/marbles/distinfo | 1 | ||||
-rw-r--r-- | games/marbles/pkg-comment | 1 | ||||
-rw-r--r-- | games/marbles/pkg-descr | 5 | ||||
-rw-r--r-- | games/marbles/pkg-install | 7 | ||||
-rw-r--r-- | games/marbles/pkg-plist | 80 |
6 files changed, 137 insertions, 0 deletions
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 <bsd.port.mk> 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 |