aboutsummaryrefslogtreecommitdiff
path: root/games/pythoong
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-24 15:48:23 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-24 15:48:23 +0000
commit525e48653d72a7a43775eab1a90bdb73dbaf29de (patch)
treec306486a85a184aa631d0a08d5868d8cf695eac7 /games/pythoong
parent53d1283b74e09ba732216b75551bc6e8db1b9099 (diff)
downloadports-525e48653d72a7a43775eab1a90bdb73dbaf29de.tar.gz
ports-525e48653d72a7a43775eab1a90bdb73dbaf29de.zip
Notes
Diffstat (limited to 'games/pythoong')
-rw-r--r--games/pythoong/Makefile41
-rw-r--r--games/pythoong/distinfo1
-rw-r--r--games/pythoong/files/patch-aa11
-rw-r--r--games/pythoong/files/patch-ab40
-rw-r--r--games/pythoong/pkg-comment1
-rw-r--r--games/pythoong/pkg-descr5
-rw-r--r--games/pythoong/pkg-plist54
7 files changed, 153 insertions, 0 deletions
diff --git a/games/pythoong/Makefile b/games/pythoong/Makefile
new file mode 100644
index 000000000000..6ee5b387841d
--- /dev/null
+++ b/games/pythoong/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: pythoong
+# Date created: 24 July 2000
+# Whom: Maxim Sobolev
+#
+# $FreeBSD$
+#
+
+PORTNAME= pythoong
+PORTVERSION= 0.99
+CATEGORIES= games gnome
+MASTER_SITES= http://perso.wanadoo.fr/christophe.cressend/tarballs/
+
+MAINTAINER= sobomax@FreeBSD.org
+
+BUILD_DEPENDS= xbmtopbm:${PORTSDIR}/graphics/netpbm
+LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
+RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-extract:
+ @${RM} -f ${WRKSRC}/config.cache
+ @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/pixmaps|\$\(datadir\)/gnome/pixmaps|g ; \
+ s|\$\(localstatedir\)/games|\$\(datadir\)/gnome/games|g'
+
+.include <bsd.port.mk>
diff --git a/games/pythoong/distinfo b/games/pythoong/distinfo
new file mode 100644
index 000000000000..17ffb7f04186
--- /dev/null
+++ b/games/pythoong/distinfo
@@ -0,0 +1 @@
+MD5 (pythoong-0.99.tar.bz2) = 11108e6edfe828d8b7e76397a5fc49cb
diff --git a/games/pythoong/files/patch-aa b/games/pythoong/files/patch-aa
new file mode 100644
index 000000000000..f41d5663ac36
--- /dev/null
+++ b/games/pythoong/files/patch-aa
@@ -0,0 +1,11 @@
+--- prefs.c.orig Sun Jul 23 22:05:21 2000
++++ prefs.c Mon Jul 24 17:13:43 2000
+@@ -11,7 +11,7 @@
+ #include "pythoong_def.h"
+ #include "prefs.h"
+ #include "keyboard.h"
+-#include "tgmath.h"
++/*#include "tgmath.h"*/
+
+ extern void reinit_speed();
+ extern void reinit_graphics();
diff --git a/games/pythoong/files/patch-ab b/games/pythoong/files/patch-ab
new file mode 100644
index 000000000000..6fc3590e2b06
--- /dev/null
+++ b/games/pythoong/files/patch-ab
@@ -0,0 +1,40 @@
+--- mazes/Makefile.in.orig Mon Jul 24 17:22:38 2000
++++ mazes/Makefile.in Mon Jul 24 17:44:08 2000
+@@ -124,7 +124,8 @@
+
+ mazesdir = $(datadir)/gnome/pixmaps/pythoong/mazes
+
+-mazes_DATA = level01.xpm level02.xpm level03.xpm level04.xpm level05.xpm level06.xpm level07.xpm level08.xpm level09.xpm level10.xpm level11.xpm level12.xpm level13.xpm level14.xpm level15.xpm level16.xpm level17.xpm level18.xpm level19.xpm level20.xpm level21.xpm level22.xpm level23.xpm level24.xpm level25.xpm level26.xpm level27.xpm level28.xpm level29.xpm level30.xpm level31.xpm level32.xpm level33.xpm level34.xpm level35.xpm level36.xpm level37.xpm level38.xpm level39.xpm level40.xpm
++mazes_DATA_xbm = level01.xpm level02.xpm level03.xpm level04.xpm level05.xpm level06.xpm level07.xpm level08.xpm level09.xpm level10.xpm level11.xpm level12.xpm level13.xpm level14.xpm level15.xpm level16.xpm level17.xpm level18.xpm level19.xpm level20.xpm level21.xpm level22.xpm level23.xpm level24.xpm level25.xpm level26.xpm level27.xpm level28.xpm level29.xpm level30.xpm level31.xpm level32.xpm level33.xpm level34.xpm level35.xpm level36.xpm level37.xpm level38.xpm level39.xpm level40.xpm
++mazes_DATA = $(mazes_DATA_xbm:.xpm=.xp)
+
+
+ EXTRA_DIST = $(mazes_DATA)
+@@ -141,7 +142,10 @@
+ TAR = tar
+ GZIP_ENV = --best
+ all: all-redirect
+-.SUFFIXES:
++.SUFFIXES: .xpm .xp
++.xpm.xp:
++ (xbmtopbm < $< | ppmtoxpm > $@) 2>/dev/null
++
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ cd $(top_srcdir) && $(AUTOMAKE) --gnu mazes/Makefile
+
+@@ -155,11 +159,11 @@
+ $(mkinstalldirs) $(DESTDIR)$(mazesdir)
+ @list='$(mazes_DATA)'; for p in $$list; do \
+ if test -f $(srcdir)/$$p; then \
+- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(mazesdir)/$$p"; \
+- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(mazesdir)/$$p; \
++ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(mazesdir)/$${p}m"; \
++ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(mazesdir)/$${p}m; \
+ else if test -f $$p; then \
+- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(mazesdir)/$$p"; \
+- $(INSTALL_DATA) $$p $(DESTDIR)$(mazesdir)/$$p; \
++ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(mazesdir)/$${p}m"; \
++ $(INSTALL_DATA) $$p $(DESTDIR)$(mazesdir)/$${p}m; \
+ fi; fi; \
+ done
+
diff --git a/games/pythoong/pkg-comment b/games/pythoong/pkg-comment
new file mode 100644
index 000000000000..8c7b5718d323
--- /dev/null
+++ b/games/pythoong/pkg-comment
@@ -0,0 +1 @@
+A snake-like game written for Gnome desktop
diff --git a/games/pythoong/pkg-descr b/games/pythoong/pkg-descr
new file mode 100644
index 000000000000..238b3a7e9cff
--- /dev/null
+++ b/games/pythoong/pkg-descr
@@ -0,0 +1,5 @@
+Pythoons is a "snake" like game written for Gnome. In this one, the snake moves
+into a maze ( just like a PacMan ), eating pill and trying not to bite its
+queue.
+
+WWW: http://perso.wanadoo.fr/christophe.cressend/
diff --git a/games/pythoong/pkg-plist b/games/pythoong/pkg-plist
new file mode 100644
index 000000000000..0507f8f5f272
--- /dev/null
+++ b/games/pythoong/pkg-plist
@@ -0,0 +1,54 @@
+bin/pythoong
+share/gnome/games/pythoong.scores
+share/gnome/pixmaps/pythoong/mazes/level01.xpm
+share/gnome/pixmaps/pythoong/mazes/level02.xpm
+share/gnome/pixmaps/pythoong/mazes/level03.xpm
+share/gnome/pixmaps/pythoong/mazes/level04.xpm
+share/gnome/pixmaps/pythoong/mazes/level05.xpm
+share/gnome/pixmaps/pythoong/mazes/level06.xpm
+share/gnome/pixmaps/pythoong/mazes/level07.xpm
+share/gnome/pixmaps/pythoong/mazes/level08.xpm
+share/gnome/pixmaps/pythoong/mazes/level09.xpm
+share/gnome/pixmaps/pythoong/mazes/level10.xpm
+share/gnome/pixmaps/pythoong/mazes/level11.xpm
+share/gnome/pixmaps/pythoong/mazes/level12.xpm
+share/gnome/pixmaps/pythoong/mazes/level13.xpm
+share/gnome/pixmaps/pythoong/mazes/level14.xpm
+share/gnome/pixmaps/pythoong/mazes/level15.xpm
+share/gnome/pixmaps/pythoong/mazes/level16.xpm
+share/gnome/pixmaps/pythoong/mazes/level17.xpm
+share/gnome/pixmaps/pythoong/mazes/level18.xpm
+share/gnome/pixmaps/pythoong/mazes/level19.xpm
+share/gnome/pixmaps/pythoong/mazes/level20.xpm
+share/gnome/pixmaps/pythoong/mazes/level21.xpm
+share/gnome/pixmaps/pythoong/mazes/level22.xpm
+share/gnome/pixmaps/pythoong/mazes/level23.xpm
+share/gnome/pixmaps/pythoong/mazes/level24.xpm
+share/gnome/pixmaps/pythoong/mazes/level25.xpm
+share/gnome/pixmaps/pythoong/mazes/level26.xpm
+share/gnome/pixmaps/pythoong/mazes/level27.xpm
+share/gnome/pixmaps/pythoong/mazes/level28.xpm
+share/gnome/pixmaps/pythoong/mazes/level29.xpm
+share/gnome/pixmaps/pythoong/mazes/level30.xpm
+share/gnome/pixmaps/pythoong/mazes/level31.xpm
+share/gnome/pixmaps/pythoong/mazes/level32.xpm
+share/gnome/pixmaps/pythoong/mazes/level33.xpm
+share/gnome/pixmaps/pythoong/mazes/level34.xpm
+share/gnome/pixmaps/pythoong/mazes/level35.xpm
+share/gnome/pixmaps/pythoong/mazes/level36.xpm
+share/gnome/pixmaps/pythoong/mazes/level37.xpm
+share/gnome/pixmaps/pythoong/mazes/level38.xpm
+share/gnome/pixmaps/pythoong/mazes/level39.xpm
+share/gnome/pixmaps/pythoong/mazes/level40.xpm
+share/gnome/pixmaps/pythoong/others/pythoong-icon.xpm
+share/gnome/pixmaps/pythoong/others/title_pyt.png
+share/gnome/pixmaps/pythoong/snakes/cubix.png
+share/gnome/pixmaps/pythoong/snakes/green.png
+share/gnome/pixmaps/pythoong/snakes/nature.png
+share/gnome/pixmaps/pythoong/snakes/standard.png
+share/gnome/pixmaps/pythoong/snakes/sunny.png
+share/gnome/pixmaps/pythoong/snakes/woody.png
+@dirrm share/gnome/pixmaps/pythoong/snakes
+@dirrm share/gnome/pixmaps/pythoong/others
+@dirrm share/gnome/pixmaps/pythoong/mazes
+@dirrm share/gnome/pixmaps/pythoong