mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
9c139fb080
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)
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# 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>
|