summaryrefslogtreecommitdiff
path: root/games/gtktetcolor
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-08-17 10:34:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-08-17 10:34:30 +0000
commitba14baafa84c93e6dd447239ae371182249e57c0 (patch)
treefebebbaa46b7255c66dba28e620dac7e3cedd9fc /games/gtktetcolor
parentUpdate to 0.7.2. (diff)
Add gtktetcolor - a game for GNOME that resembles well-known tetris and columns.
Notes
Notes: svn path=/head/; revision=31705
Diffstat (limited to 'games/gtktetcolor')
-rw-r--r--games/gtktetcolor/Makefile43
-rw-r--r--games/gtktetcolor/distinfo1
-rw-r--r--games/gtktetcolor/files/patch-aa9
-rw-r--r--games/gtktetcolor/pkg-comment1
-rw-r--r--games/gtktetcolor/pkg-descr9
-rw-r--r--games/gtktetcolor/pkg-plist4
6 files changed, 67 insertions, 0 deletions
diff --git a/games/gtktetcolor/Makefile b/games/gtktetcolor/Makefile
new file mode 100644
index 000000000000..e3f6471c8c82
--- /dev/null
+++ b/games/gtktetcolor/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: gtktetcolor
+# Date created: 17 August 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtktetcolor
+PORTVERSION= 0.4.2
+CATEGORIES= games gnome
+MASTER_SITES= http://www.dvgu.ru/ifit/~panov/gtktetcolor/ \
+ http://metalab.unc.edu/pub/Linux/games/
+
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
+RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore
+
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome
+CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+post-install:
+ @${MKDIR} ${PREFIX}/share/gnome/pixmaps
+ @${INSTALL_DATA} ${WRKSRC}/src/gtktetcolor.xpm ${PREFIX}/share/gnome/pixmaps
+
+.include <bsd.port.mk>
diff --git a/games/gtktetcolor/distinfo b/games/gtktetcolor/distinfo
new file mode 100644
index 000000000000..c5d0adbcd311
--- /dev/null
+++ b/games/gtktetcolor/distinfo
@@ -0,0 +1 @@
+MD5 (gtktetcolor-0.4.2.tar.gz) = 343f9eec1487d561ce40fa1d340fba32
diff --git a/games/gtktetcolor/files/patch-aa b/games/gtktetcolor/files/patch-aa
new file mode 100644
index 000000000000..300ab62f24e0
--- /dev/null
+++ b/games/gtktetcolor/files/patch-aa
@@ -0,0 +1,9 @@
+--- src/gtktetcolor.desktop 2000/08/17 10:12:36 1.1
++++ src/gtktetcolor.desktop 2000/08/17 10:13:38
+@@ -4,5 +4,6 @@
+ Comment=Gnome tetcolor
+ Comment[ru]=Цветной тетрис для Gnome
+ Exec=gtktetcolor
++Icon=gtktetcolor.xpm
+ Terminal=0
+ Type=Application
diff --git a/games/gtktetcolor/pkg-comment b/games/gtktetcolor/pkg-comment
new file mode 100644
index 000000000000..dcced90bafce
--- /dev/null
+++ b/games/gtktetcolor/pkg-comment
@@ -0,0 +1 @@
+A game for GNOME that resembles well-known tetris and columns
diff --git a/games/gtktetcolor/pkg-descr b/games/gtktetcolor/pkg-descr
new file mode 100644
index 000000000000..fc50ef658867
--- /dev/null
+++ b/games/gtktetcolor/pkg-descr
@@ -0,0 +1,9 @@
+GtkTetcolor is a game that resembles well-known tetris and columns. The rules
+of the game are simple - you can move or rotate the block which continue to
+fall. After block landing the sequence of at least three cells horizontally,
+vertically or diagonally having matching colors is removed and the above blocks
+will collapse. If two or more sequences will be removed simultaneously the
+player has got bonus points. The game will be over when new block cannot be
+placed on screen.
+
+WWW: http://www.dvgu.ru/ifit/~panov/gtktetcolor/
diff --git a/games/gtktetcolor/pkg-plist b/games/gtktetcolor/pkg-plist
new file mode 100644
index 000000000000..5c01e7d8e3b0
--- /dev/null
+++ b/games/gtktetcolor/pkg-plist
@@ -0,0 +1,4 @@
+bin/gtktetcolor
+share/gnome/apps/Games/gtktetcolor.desktop
+share/gnome/pixmaps/gtktetcolor.xpm
+share/locale/ru/LC_MESSAGES/gtktetcolor.mo