From 6621e8f0352d8056a46ad2f07b951b36ed651689 Mon Sep 17 00:00:00 2001 From: Alex Kozlov Date: Thu, 3 May 2012 20:56:57 +0000 Subject: [PATCH] The object of the game is to remove all of the blocks from the screen before the time runs out. Two blocks are removed at a time, and must be of the same color. After completing a level, you will be rewarded with a bonus point for every tick left on the clock. For each level thereafter, the time to complete the the level will be shorter. PR: ports/166854 Submitted by: nemysis Approved by: eadler (mentor) --- games/Makefile | 1 + games/twind/Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++ games/twind/distinfo | 2 ++ games/twind/pkg-descr | 7 +++++++ 4 files changed, 57 insertions(+) create mode 100644 games/twind/Makefile create mode 100644 games/twind/distinfo create mode 100644 games/twind/pkg-descr diff --git a/games/Makefile b/games/Makefile index 427fc2fb17b6..e1d113a7eee2 100644 --- a/games/Makefile +++ b/games/Makefile @@ -900,6 +900,7 @@ SUBDIR += tuxracer SUBDIR += tuxracer_golf SUBDIR += tuxtype + SUBDIR += twind SUBDIR += twitch SUBDIR += tycho SUBDIR += typespeed diff --git a/games/twind/Makefile b/games/twind/Makefile new file mode 100644 index 000000000000..0946c541d4a4 --- /dev/null +++ b/games/twind/Makefile @@ -0,0 +1,47 @@ +# New Ports collection makefile for: twind +# Date created: 2012-04-11 +# Whom: nemysis@gmx.ch +# +# $FreeBSD$ +# + +PORTNAME= twind +PORTVERSION= 1.1.0 +CATEGORIES= games +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} + +MAINTAINER= nemysis@gmx.ch +COMMENT= Match and remove all of the blocks before time runs out + +LICENSE= GPLv2 + +USE_SDL= sdl image mixer +MAKE_JOBS_SAFE= yes + +PLIST_FILES= bin/twind \ + share/pixmaps/${PORTNAME}.png + +PORTDATA= * +PORTDOCS= AUTHORS CREDITS ChangeLog NEWS README TODO + +do-build: + cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \ + -DDATA_PREFIX=\"${DATADIR}/\" -DAUDIO -DLINUX \ + -lm `${SDL_CONFIG} --cflags --libs` -lSDL_mixer -lSDL_image twind.c +do-install: +# Executable + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +# Pixmaps + ${INSTALL_DATA} ${WRKSRC}/graphics/twind.png ${PREFIX}/share/pixmaps/${PORTNAME}.png +# Data + ${MKDIR} ${DATADIR} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music sound" ${DATADIR}) +# Documentation +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/games/twind/distinfo b/games/twind/distinfo new file mode 100644 index 000000000000..eb20b195f5d5 --- /dev/null +++ b/games/twind/distinfo @@ -0,0 +1,2 @@ +SHA256 (twind-1.1.0.tar.gz) = 392a09e92862cf8a89a9b8c6f5ed7255c15c7f058a89d889c32f59ed8da73382 +SIZE (twind-1.1.0.tar.gz) = 2837845 diff --git a/games/twind/pkg-descr b/games/twind/pkg-descr new file mode 100644 index 000000000000..dd167e5d3c12 --- /dev/null +++ b/games/twind/pkg-descr @@ -0,0 +1,7 @@ +The object of the game is to remove all of the blocks from the screen +before the time runs out. Two blocks are removed at a time, +and must be of the same color. After completing a level, +you will be rewarded with a bonus point for every tick left on the clock. +For each level thereafter, the time to complete the the level will be shorter. + +WWW: http://twind.sourceforge.net/