Summary: | [NEW PORT] games/vodovod: Cross-platform pipe connecting action puzzle game | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | nemysis <nemysis> | ||||||
Component: | Individual Port(s) | Assignee: | Rusmir Dusko <nemysis> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | ||||||||
Priority: | Normal | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
nemysis
2012-11-23 20:50:00 UTC
Changed DESKTOP_ENTRIES="Vodovod" "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.png" \ "${PORTNAME}" "Game;LogicGame;" false Responsible Changed From-To: freebsd-ports-bugs->nemysis submitter is now committer. State Changed From-To: open->closed New port added. Thanks! Author: nemysis Date: Thu Oct 17 23:36:50 2013 New Revision: 330687 URL: http://svnweb.freebsd.org/changeset/ports/330687 Log: The goal of the game is to reach the highest possible score. You get a limited number of pipes on each level and need to combine them to lead the water from the house at the top of the screen to the storage tank at the bottom. For each pipe water goes through, you get 20 points and if you fill the cross-pipe both ways, you get 60 points. At end of each level, you are awarded depending on the skill level: * Beginner: 100 points * Toolman: 100 points + number of pipes remaining * Master plumber: 100 points + 2 x number of pipes remaining Some of the levels also have obstacles where you cannot place pipes. The game is playable with joystick/joypad: just move it and press buttons when you go to Options -> Configure controls WWW: http://home.gna.org/vodovod/ PR: ports/173881 Submitted by: nemysis (self) Approved by: pawel (mentor) Added: head/games/vodovod/ head/games/vodovod/Makefile (contents, props changed) head/games/vodovod/distinfo (contents, props changed) head/games/vodovod/files/ head/games/vodovod/files/patch-hiscore.cpp (contents, props changed) head/games/vodovod/files/patch-hiscore.h (contents, props changed) head/games/vodovod/files/vodovod.in (contents, props changed) head/games/vodovod/pkg-descr (contents, props changed) head/games/vodovod/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Thu Oct 17 23:24:21 2013 (r330686) +++ head/games/Makefile Thu Oct 17 23:36:50 2013 (r330687) @@ -995,6 +995,7 @@ SUBDIR += violetland SUBDIR += viruskiller SUBDIR += vitetris + SUBDIR += vodovod SUBDIR += volleyball SUBDIR += vor SUBDIR += vultures-eye Added: head/games/vodovod/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vodovod/Makefile Thu Oct 17 23:36:50 2013 (r330687) @@ -0,0 +1,58 @@ +# Created by: Rusmir Dusko <nemysis@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= vodovod +PORTVERSION= 1.10 +CATEGORIES= games +MASTER_SITES= http://download.gna.org/vodovod/ \ + SF/nemysisfreebsdp/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \ + ${PORTNAME}.png:icons +EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Cross-platform pipe connecting action puzzle game + +LICENSE= GPLv2 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-src + +USES= gmake +USE_SDL= image mixer sdl + +PORTDOCS= * + +DOCSRCDIR1= ${WRKSRC} +DOC_FILES1= CHANGES + +DOCSRCDIR2= ${WRKSRC}/html +DOCSDIR2= ${DOCSDIR}/html +DOC_FILES2= *.gif *.png *.jpg *.html + +SUB_FILES= ${PORTNAME} + +DESKTOP_ENTRIES="Vodovod" "${COMMENT}" ${PORTNAME} \ + "${PORTNAME}" "Game;LogicGame;" false + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's|PREFIX=/usr|PREFIX=${PREFIX}|' \ + -e 's|CC = g++|CC ?= g++|' \ + -e 's|CC|CXX|' \ + -e 's|sdl-config|$(SDL_CONFIG)|' \ + -e '/^MY_CFLAGS/ s| = | = ${CXXFLAGS} |' \ + ${WRKSRC}/Makefile + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data icon.ico" ${STAGEDIR}${DATADIR}) + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} + +.include <bsd.port.mk> Added: head/games/vodovod/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vodovod/distinfo Thu Oct 17 23:36:50 2013 (r330687) @@ -0,0 +1,4 @@ +SHA256 (vodovod-1.10-src.tar.gz) = ba30919eed676e9d1ab7dc57b72813039eb658fa26442b921c29a489d5c082df +SIZE (vodovod-1.10-src.tar.gz) = 403216 +SHA256 (vodovod.png) = 3ed4b7844cb37b1165a46485df2e9b8cfcb461ca93cca4fb878206df2a38bad6 +SIZE (vodovod.png) = 2039 Added: head/games/vodovod/files/patch-hiscore.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vodovod/files/patch-hiscore.cpp Thu Oct 17 23:36:50 2013 (r330687) @@ -0,0 +1,10 @@ +--- ./hiscore.cpp.orig 2007-06-05 00:13:40.000000000 +0200 ++++ ./hiscore.cpp 2013-10-17 23:37:42.000000000 +0200 +@@ -19,6 +19,7 @@ + -----------------------------------------------------------------------------*/ + #include "stdio.h" + #include "hiscore.h" ++#include <cstdlib> + //----------------------------------------------------------------------------- + HiScores &hiScores() + { Added: head/games/vodovod/files/patch-hiscore.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vodovod/files/patch-hiscore.h Thu Oct 17 23:36:50 2013 (r330687) @@ -0,0 +1,11 @@ +--- ./hiscore.h.orig 2007-06-03 13:09:24.000000000 +0200 ++++ ./hiscore.h 2013-10-17 23:37:42.000000000 +0200 +@@ -28,7 +28,7 @@ + std::string name; + int level; + int points; +- bool operator<(const HiScore& h) { return points > h.points; }; ++ bool operator<(const HiScore& h) const { return points > h.points; }; + }; + //----------------------------------------------------------------------------- + class HiScores Added: head/games/vodovod/files/vodovod.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vodovod/files/vodovod.in Thu Oct 17 23:36:50 2013 (r330687) @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +cd "%%DATADIR%%" +exec ./vodovod "${@}" Added: head/games/vodovod/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vodovod/pkg-descr Thu Oct 17 23:36:50 2013 (r330687) @@ -0,0 +1,16 @@ +The goal of the game is to reach the highest possible score. You get a limited +number of pipes on each level and need to combine them to lead the water from +the house at the top of the screen to the storage tank at the bottom. For each +pipe water goes through, you get 20 points and if you fill the cross-pipe both +ways, you get 60 points. At end of each level, you are awarded depending on the +skill level: + + * Beginner: 100 points + * Toolman: 100 points + number of pipes remaining + * Master plumber: 100 points + 2 x number of pipes remaining + +Some of the levels also have obstacles where you cannot place pipes. The game +is playable with joystick/joypad: just move it and press buttons when you go to +Options -> Configure controls + +WWW: http://home.gna.org/vodovod/ Added: head/games/vodovod/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/vodovod/pkg-plist Thu Oct 17 23:36:50 2013 (r330687) @@ -0,0 +1,26 @@ +bin/vodovod +share/pixmaps/vodovod.png +%%DATADIR%%/data/abicon.bmp +%%DATADIR%%/data/block.png +%%DATADIR%%/data/bubbles.wav +%%DATADIR%%/data/drop.wav +%%DATADIR%%/data/flow.xm +%%DATADIR%%/data/font-white.bmp +%%DATADIR%%/data/font-yellow.bmp +%%DATADIR%%/data/house.png +%%DATADIR%%/data/mapend.wav +%%DATADIR%%/data/metal.wav +%%DATADIR%%/data/next.png +%%DATADIR%%/data/queue.png +%%DATADIR%%/data/replace.wav +%%DATADIR%%/data/slate.png +%%DATADIR%%/data/tank.png +%%DATADIR%%/data/tree1.png +%%DATADIR%%/data/vodovod.png +%%DATADIR%%/data/vodovod.xm +%%DATADIR%%/data/walk.png +%%DATADIR%%/data/walk.xm +%%DATADIR%%/icon.ico +%%DATADIR%%/vodovod +@dirrm %%DATADIR%%/data +@dirrm %%DATADIR%% _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" |