aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-03-18 00:51:49 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-03-18 00:51:49 +0000
commitc392b615374f9ed8dcbedab7e03e886ad0e4701f (patch)
tree186b6df7b032742229b7bd05616f7b5585a4b8b6
parentac39221672c3c391a6c127d2fcc67a1fe3d4512e (diff)
downloadports-c392b615374f9ed8dcbedab7e03e886ad0e4701f.tar.gz
ports-c392b615374f9ed8dcbedab7e03e886ad0e4701f.zip
Notes
-rw-r--r--games/Makefile1
-rw-r--r--games/gtkatlantic/Makefile30
-rw-r--r--games/gtkatlantic/distinfo2
-rw-r--r--games/gtkatlantic/files/patch-display.c30
-rw-r--r--games/gtkatlantic/pkg-descr4
-rw-r--r--games/gtkatlantic/pkg-plist26
6 files changed, 93 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index ec4ccc7c023d..774853c9b968 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -199,6 +199,7 @@
SUBDIR += gshisen
SUBDIR += gtetrinet
SUBDIR += gtkabale
+ SUBDIR += gtkatlantic
SUBDIR += gtkballs
SUBDIR += gtklife
SUBDIR += gtktetcolor
diff --git a/games/gtkatlantic/Makefile b/games/gtkatlantic/Makefile
new file mode 100644
index 000000000000..af3f0a5487d0
--- /dev/null
+++ b/games/gtkatlantic/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: gtkatlantic
+# Date created: 2005-03-17
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtkatlantic
+PORTVERSION= 0.4.1
+CATEGORIES= games
+MASTER_SITES= http://gtkatlantic.gradator.net/downloads/v0.4/
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= GtkAtlantic is a game like Monopoly(tm)
+
+USE_BZIP2= yes
+USE_GNOME= gtk20
+USE_LIBTOOL_VER=15
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_X_PREFIX= yes
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|mkdir |${MKDIR} |' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/games/gtkatlantic/distinfo b/games/gtkatlantic/distinfo
new file mode 100644
index 000000000000..6e0a315736e2
--- /dev/null
+++ b/games/gtkatlantic/distinfo
@@ -0,0 +1,2 @@
+MD5 (gtkatlantic-0.4.1.tar.bz2) = 9a66d0d8a68a303c4d8786ebc04f65f9
+SIZE (gtkatlantic-0.4.1.tar.bz2) = 736023
diff --git a/games/gtkatlantic/files/patch-display.c b/games/gtkatlantic/files/patch-display.c
new file mode 100644
index 000000000000..622375fb1106
--- /dev/null
+++ b/games/gtkatlantic/files/patch-display.c
@@ -0,0 +1,30 @@
+--- src/display.c.orig Fri Jun 25 03:02:45 2004
++++ src/display.c Thu Mar 17 19:41:54 2005
+@@ -201,6 +201,8 @@
+
+
+ void display_text(guchar *message) {
++ GtkTextIter txtiter;
++ GtkTextBuffer *txtbuff;
+
+ GtkWidget *vbox;
+ GtkWidget *text;
+@@ -240,7 +242,7 @@
+ msg = g_strdup("");
+
+ for(len = strlen(data), i = 0 ; i < len ; i++) {
+-
++
+ chr = g_strndup(data +i, 1);
+
+ if(! strncmp(data +i, "&amp;", 5) ) {
+@@ -256,9 +258,6 @@
+ }
+ g_free(data);
+
+- /* fill with text */
+- GtkTextBuffer *txtbuff;
+- GtkTextIter txtiter;
+
+ txtbuff = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text));
+ gtk_text_buffer_get_end_iter(txtbuff, &txtiter);
diff --git a/games/gtkatlantic/pkg-descr b/games/gtkatlantic/pkg-descr
new file mode 100644
index 000000000000..b22a844f2b16
--- /dev/null
+++ b/games/gtkatlantic/pkg-descr
@@ -0,0 +1,4 @@
+GtkAtlantic is a game like Monopoly(tm). GtkAtlantic is a network client
+that works with the monopd (http://unixcode.org/monopd/) server.
+
+WWW: http://gtkatlantic.gradator.net/
diff --git a/games/gtkatlantic/pkg-plist b/games/gtkatlantic/pkg-plist
new file mode 100644
index 000000000000..19ccbe9b26bb
--- /dev/null
+++ b/games/gtkatlantic/pkg-plist
@@ -0,0 +1,26 @@
+bin/gtkatlantic
+%%DATADIR%%/board.png
+%%DATADIR%%/cards.png
+%%DATADIR%%/commands.png
+%%DATADIR%%/default.conf
+%%DATADIR%%/help.index
+%%DATADIR%%/houses.png
+%%DATADIR%%/icon16x16.xpm
+%%DATADIR%%/icon32x32.xpm
+%%DATADIR%%/interface.xml
+%%DATADIR%%/logo.png
+%%DATADIR%%/stars.png
+%%DATADIR%%/stars_m.png
+%%DATADIR%%/themes/generic_gradient/cards.png
+%%DATADIR%%/themes/generic_gradient/estates.png
+%%DATADIR%%/themes/generic_gradient/houses.png
+%%DATADIR%%/themes/generic_gradient/pattern.png
+%%DATADIR%%/themes/generic_gradient/preview.png
+%%DATADIR%%/themes/generic_gradient/stars.png
+%%DATADIR%%/themes/generic_gradient/stars_m.png
+%%DATADIR%%/themes/generic_gradient/theme.conf
+%%DATADIR%%/themes/generic_gradient/tokens.png
+%%DATADIR%%/tokens.png
+@dirrm %%DATADIR%%/themes/generic_gradient
+@dirrm %%DATADIR%%/themes
+@dirrm %%DATADIR%%