aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-08-12 00:27:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-08-12 00:27:07 +0000
commitf9056da33caffccd1f6097e5b59681c7b04ce4b3 (patch)
tree646f878e4e11647ce1af4f6a85ae00321d93ebaf
parentc407ea22da6b067de237d88d2e3283e8d26dac27 (diff)
downloadports-f9056da33caffccd1f6097e5b59681c7b04ce4b3.tar.gz
ports-f9056da33caffccd1f6097e5b59681c7b04ce4b3.zip
Notes
-rw-r--r--games/Makefile1
-rw-r--r--games/pipewalker/Makefile38
-rw-r--r--games/pipewalker/distinfo3
-rw-r--r--games/pipewalker/pkg-descr7
-rw-r--r--games/pipewalker/pkg-plist8
5 files changed, 57 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 6a2ad8b346e7..35c9b17a0d25 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -633,6 +633,7 @@
SUBDIR += pioneers
SUBDIR += pipenightdreams
SUBDIR += pipepanic
+ SUBDIR += pipewalker
SUBDIR += plee-the-bear
SUBDIR += plonx
SUBDIR += plutocracy
diff --git a/games/pipewalker/Makefile b/games/pipewalker/Makefile
new file mode 100644
index 000000000000..45bcd6e712b9
--- /dev/null
+++ b/games/pipewalker/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: pipewalker
+# Date created: 11 Aug 2009
+# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pipewalker
+PORTVERSION= 0.7.2
+CATEGORIES= games
+MASTER_SITES= SF
+EXTRACT_SUFX= -src.tar.gz
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= A clone of the NetWalk game
+
+GNU_CONFIGURE= yes
+USE_SDL= sdl
+USE_GL= gl glu
+MAKE_JOBS_SAFE= yes
+
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+ CPPFLAGS="-I${LOCALBASE}/include"
+
+PORTDOCS= *
+
+post-patch:
+ @${CHMOD} a+x ${WRKSRC}/install-sh
+ @${REINPLACE_CMD} -e 's|(datadir)/games|(datadir)|' \
+ ${WRKSRC}/data/Makefile.in ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e '/^install-data-am/ s|install-pkgmenudataDATA||' \
+ ${WRKSRC}/extra/Makefile.in
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e '/^install-data-am/ s|install-pkgdocdataDATA||' \
+ ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/pipewalker/distinfo b/games/pipewalker/distinfo
new file mode 100644
index 000000000000..f49652c5312c
--- /dev/null
+++ b/games/pipewalker/distinfo
@@ -0,0 +1,3 @@
+MD5 (pipewalker-0.7.2-src.tar.gz) = dd21add7c38f79c82e42135af83dda0c
+SHA256 (pipewalker-0.7.2-src.tar.gz) = d13943db3103c1ffa7dfee74e9bc868c7fa6a67341507deca52c3f873a4463db
+SIZE (pipewalker-0.7.2-src.tar.gz) = 263075
diff --git a/games/pipewalker/pkg-descr b/games/pipewalker/pkg-descr
new file mode 100644
index 000000000000..86f1bac520c8
--- /dev/null
+++ b/games/pipewalker/pkg-descr
@@ -0,0 +1,7 @@
+PipeWalker is a clone of the NetWalk game.
+
+This is a puzzle game where pieces of a computer network are to be
+turned in the right/left direction to make all computers connected
+to the same network.
+
+WWW: http://pipewalker.sourceforge.net/
diff --git a/games/pipewalker/pkg-plist b/games/pipewalker/pkg-plist
new file mode 100644
index 000000000000..d9463994cbc2
--- /dev/null
+++ b/games/pipewalker/pkg-plist
@@ -0,0 +1,8 @@
+bin/pipewalker
+share/applications/pipewalker.desktop
+%%DATADIR%%/clatz.wav
+%%DATADIR%%/font.tga
+%%DATADIR%%/network.tga
+share/pixmaps/pipewalker.xpm
+@dirrm %%DATADIR%%
+@dirrmtry share/applications