aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-08-17 18:34:30 +0800
committersobomax <sobomax@FreeBSD.org>2000-08-17 18:34:30 +0800
commitf4690e9ef9d80ef75cba009d3fa26454c9f40973 (patch)
treea24d61a0c0ad6549040ac53f0703d91e36175950 /games
parentaefee2de28a933e044904059debb663177a2c15c (diff)
downloadfreebsd-ports-gnome-f4690e9ef9d80ef75cba009d3fa26454c9f40973.tar.gz
freebsd-ports-gnome-f4690e9ef9d80ef75cba009d3fa26454c9f40973.tar.zst
freebsd-ports-gnome-f4690e9ef9d80ef75cba009d3fa26454c9f40973.zip
Add gtktetcolor - a game for GNOME that resembles well-known tetris and columns.
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-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
7 files changed, 68 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 0059c2234d0f..46903f198b5b 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -79,6 +79,7 @@
SUBDIR += gtetrinet
SUBDIR += gtkabale
SUBDIR += gtkballs
+ SUBDIR += gtktetcolor
SUBDIR += halflifeserver
SUBDIR += heretic
SUBDIR += heroes
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