ports/173881: [NEW PORT] games/vodovod: Cross-platform pipe connecting action puzzle game

nemysis nemysis at gmx.ch
Fri Nov 23 20:50:00 UTC 2012


>Number:         173881
>Category:       ports
>Synopsis:       [NEW PORT] games/vodovod: Cross-platform pipe connecting action puzzle game
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 20:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
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/

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

Can't give build log, because RedPorts not works at the time.

>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	vodovod
#	vodovod/Makefile
#	vodovod/pkg-descr
#	vodovod/distinfo
#	vodovod/files
#	vodovod/files/vodovod.in
#	vodovod/files/patch-hiscore.cpp
#	vodovod/pkg-plist
#
echo c - vodovod
mkdir -p vodovod > /dev/null 2>&1
echo x - vodovod/Makefile
sed 's/^X//' >vodovod/Makefile << 'bdd91c21e6c8a3c9bc5d17a68c9d5d8f'
X# Created by:	nemysis at gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME=	vodovod
XPORTVERSION=	1.10
XCATEGORIES=	games
XMASTER_SITES=	http://download.gna.org/vodovod/ \
X		SF/nemysisfreebsdp/:icons
XDISTFILES=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
X		${PORTNAME}.png:icons
XDIST_SUBDIR=	${PORTNAME}
XEXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX}
X
XMAINTAINER=	nemysis at gmx.ch
XCOMMENT=	Cross-platform pipe connecting action puzzle game
X
XLICENSE=	GPLv2
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}-src
X
XUSE_SDL=	image mixer sdl
XUSE_GMAKE=	yes
X
XPORTDOCS=	*
X
XDOCSRCDIR1=	${WRKSRC}
XDOC_FILES1=	CHANGES
X
XDOCSRCDIR2=	${WRKSRC}/html
XDOCSDIR2=	${DOCSDIR}/html
XDOC_FILES2=	*.gif *.png *.jpg *.html
X
XSUB_FILES=	${PORTNAME}
X
XDESKTOP_ENTRIES="Vodovod" "${COMMENT}" "${PORTNAME}" \
X		"${PORTNAME}" "Game;LogicGame;" ${FALSE}
X
X.include <bsd.port.options.mk>
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${DATADIR}
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data icon.ico" ${DATADIR})
X
Xpost-install:
X	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
X
X.if ${PORT_OPTIONS:MDOCS}
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
X	${MKDIR} ${DOCSDIR2}
X	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2}
X.endif
X
X.include <bsd.port.mk>
bdd91c21e6c8a3c9bc5d17a68c9d5d8f
echo x - vodovod/pkg-descr
sed 's/^X//' >vodovod/pkg-descr << '600c8ed747c71ce43b55095756922f35'
XThe goal of the game is to reach the highest possible score. You get a limited
Xnumber of pipes on each level and need to combine them to lead the water from
Xthe house at the top of the screen to the storage tank at the bottom. For each
Xpipe water goes through, you get 20 points and if you fill the cross-pipe both
Xways, you get 60 points. At end of each level, you are awarded depending on the
Xskill level:
X
X  * Beginner: 100 points
X  * Toolman: 100 points + number of pipes remaining
X  * Master plumber: 100 points + 2 x number of pipes remaining
X
XSome of the levels also have obstacles where you cannot place pipes. The game
Xis playable with joystick/joypad: just move it and press buttons when you go to
XOptions -> Configure controls
X
XWWW: http://home.gna.org/vodovod/
600c8ed747c71ce43b55095756922f35
echo x - vodovod/distinfo
sed 's/^X//' >vodovod/distinfo << 'bf478597ef65a439c50e839cd0bba77f'
XSHA256 (vodovod/vodovod-1.10-src.tar.gz) = ba30919eed676e9d1ab7dc57b72813039eb658fa26442b921c29a489d5c082df
XSIZE (vodovod/vodovod-1.10-src.tar.gz) = 403216
XSHA256 (vodovod/vodovod.png) = 3ed4b7844cb37b1165a46485df2e9b8cfcb461ca93cca4fb878206df2a38bad6
XSIZE (vodovod/vodovod.png) = 2039
bf478597ef65a439c50e839cd0bba77f
echo c - vodovod/files
mkdir -p vodovod/files > /dev/null 2>&1
echo x - vodovod/files/vodovod.in
sed 's/^X//' >vodovod/files/vodovod.in << '087711d46a1504f472dc4a6135b0d983'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
Xcd "%%DATADIR%%"
Xexec ./vodovod "${@}"
087711d46a1504f472dc4a6135b0d983
echo x - vodovod/files/patch-hiscore.cpp
sed 's/^X//' >vodovod/files/patch-hiscore.cpp << '5aadc3943f9cf0fc79ac019a91c41a89'
X--- hiscore.cpp.orig	2007-06-05 00:13:40.000000000 +0200
X+++ hiscore.cpp	2012-11-16 00:19:48.000000000 +0100
X@@ -19,6 +19,7 @@
X -----------------------------------------------------------------------------*/
X #include "stdio.h"
X #include "hiscore.h"
X+#include <cstdlib>
X //-----------------------------------------------------------------------------
X HiScores &hiScores()
X {
5aadc3943f9cf0fc79ac019a91c41a89
echo x - vodovod/pkg-plist
sed 's/^X//' >vodovod/pkg-plist << '5c2894a8491e2b663d43e8c74a6f55c8'
Xbin/vodovod
Xshare/pixmaps/vodovod.png
X%%DATADIR%%/data/abicon.bmp
X%%DATADIR%%/data/block.png
X%%DATADIR%%/data/bubbles.wav
X%%DATADIR%%/data/drop.wav
X%%DATADIR%%/data/flow.xm
X%%DATADIR%%/data/font-white.bmp
X%%DATADIR%%/data/font-yellow.bmp
X%%DATADIR%%/data/house.png
X%%DATADIR%%/data/mapend.wav
X%%DATADIR%%/data/metal.wav
X%%DATADIR%%/data/next.png
X%%DATADIR%%/data/queue.png
X%%DATADIR%%/data/replace.wav
X%%DATADIR%%/data/slate.png
X%%DATADIR%%/data/tank.png
X%%DATADIR%%/data/tree1.png
X%%DATADIR%%/data/vodovod.png
X%%DATADIR%%/data/vodovod.xm
X%%DATADIR%%/data/walk.png
X%%DATADIR%%/data/walk.xm
X%%DATADIR%%/icon.ico
X%%DATADIR%%/vodovod
X at dirrm %%DATADIR%%/data
X at dirrm %%DATADIR%%
5c2894a8491e2b663d43e8c74a6f55c8
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list