svn commit: r305220 - in head/games: . netwalk
Pawel Pekala
pawel at FreeBSD.org
Wed Oct 3 19:51:47 UTC 2012
Author: pawel
Date: Wed Oct 3 19:51:47 2012
New Revision: 305220
URL: http://svn.freebsd.org/changeset/ports/305220
Log:
NetWalk is a puzzle game where the object is to connect every terminal to the
main server. (These are represented by coloured boxes, so you could
also imagine them to be water mains, electricity cables, phone lines, etc.)
In this version, not only must every terminal be connected, but every piece of
cable must also be connected to the main server somehow.
WWW: https://code.google.com/p/netwalk/
WWW: https://github.com/blynn/netwalk
PR: ports/172173
Submitted by: nemysis <nemysis at gmx.ch>
Added:
head/games/netwalk/
head/games/netwalk/Makefile (contents, props changed)
head/games/netwalk/distinfo (contents, props changed)
head/games/netwalk/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Wed Oct 3 19:33:21 2012 (r305219)
+++ head/games/Makefile Wed Oct 3 19:51:47 2012 (r305220)
@@ -595,6 +595,7 @@
SUBDIR += netris
SUBDIR += netspades
SUBDIR += nettoe
+ SUBDIR += netwalk
SUBDIR += neverball
SUBDIR += newvox
SUBDIR += nextgo
Added: head/games/netwalk/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/netwalk/Makefile Wed Oct 3 19:51:47 2012 (r305220)
@@ -0,0 +1,64 @@
+# $FreeBSD$
+
+PORTNAME= netwalk
+PORTVERSION= 0.4.10
+CATEGORIES= games
+MASTER_SITES= GITHUB \
+ GOOGLE_CODE:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ screenshot-0.4.8.png:icons
+DIST_SUBDIR= ${PORTNAME}
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER= nemysis at gmx.ch
+COMMENT= Game where the object is to connect every terminal to the main server
+
+LICENSE= GPLv3
+
+USE_GITHUB= yes
+GH_ACCOUNT= blynn
+GH_PROJECT= ${PORTNAME}
+GH_TAGNAME= master
+GH_COMMIT= 634e7c9
+
+USE_SDL= sdl ttf
+USE_GMAKE= yes
+USE_ICONV= yes
+USE_XORG= x11 xau xdmcp
+ALL_TARGET=
+MAKE_JOBS_SAFE= yes
+
+CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/netwalk/Vera.ttf \
+ share/pixmaps/${PORTNAME}.png
+PLIST_DIRSTRY= share/netwalk
+
+PORTDOCS= README
+
+DESKTOP_ENTRIES="NetWalk" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME}" "Game;LogicGame;" "false"
+
+.include <bsd.port.options.mk>
+
+post-patch:
+# Fix SDL, CFLAGS, PREFIX
+ @${REINPLACE_CMD} \
+ -e 's|sdl-config|$(SDL_CONFIG)|' \
+ -e 's|CC=gcc|CC?=g++|' \
+ -e 's|CFLAGS=-Wall -O2 -fomit-frame-pointer|CFLAGS+=-Wall -O2 -fomit-frame-pointer|' \
+ -e 's|PREFIX = /usr|PREFIX = ${PREFIX}|' \
+ ${WRKSRC}/Makefile
+
+post-install:
+# Pixmaps
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/screenshot-0.4.8.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
Added: head/games/netwalk/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/netwalk/distinfo Wed Oct 3 19:51:47 2012 (r305220)
@@ -0,0 +1,4 @@
+SHA256 (netwalk/netwalk-0.4.10.tar.gz) = b7c5ad78e732e103a6ed820970f90dcf91612a8f0e5608dae58725445cda7df7
+SIZE (netwalk/netwalk-0.4.10.tar.gz) = 71244
+SHA256 (netwalk/screenshot-0.4.8.png) = 3a7c6364c77fbff203758eecb6648f876697d41c3b88e0d759af1ab3238fca22
+SIZE (netwalk/screenshot-0.4.8.png) = 1952
Added: head/games/netwalk/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/netwalk/pkg-descr Wed Oct 3 19:51:47 2012 (r305220)
@@ -0,0 +1,9 @@
+NetWalk is a puzzle game where the object is to connect every terminal to the
+main server. (These are represented by coloured boxes, so you could
+also imagine them to be water mains, electricity cables, phone lines, etc.)
+
+In this version, not only must every terminal be connected, but every piece of
+cable must also be connected to the main server somehow.
+
+WWW: https://code.google.com/p/netwalk/
+WWW: https://github.com/blynn/netwalk
More information about the svn-ports-all
mailing list