aboutsummaryrefslogtreecommitdiff
path: root/games/xword
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-01 19:06:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-01 19:06:56 +0000
commitcf439dd621d9cf34d0feba802602542511c06d43 (patch)
tree34dc7fe390053caa86254613dda148a216305304 /games/xword
parentc7a643eb7a505cd9d51dd1d73e14f0a6ccb386a8 (diff)
downloadports-cf439dd621d9cf34d0feba802602542511c06d43.tar.gz
ports-cf439dd621d9cf34d0feba802602542511c06d43.zip
Notes
Diffstat (limited to 'games/xword')
-rw-r--r--games/xword/Makefile21
-rw-r--r--games/xword/distinfo1
-rw-r--r--games/xword/files/patch-Clue.cpp11
-rw-r--r--games/xword/files/patch-ErrorManager.h11
-rw-r--r--games/xword/files/patch-FileUtil.cpp11
-rw-r--r--games/xword/files/patch-GridWidget.cpp19
-rw-r--r--games/xword/files/patch-Interface.cpp19
-rw-r--r--games/xword/files/patch-Log.cpp14
-rw-r--r--games/xword/files/patch-Puzzle.cpp19
-rw-r--r--games/xword/pkg-comment1
-rw-r--r--games/xword/pkg-descr5
-rw-r--r--games/xword/pkg-plist10
12 files changed, 142 insertions, 0 deletions
diff --git a/games/xword/Makefile b/games/xword/Makefile
new file mode 100644
index 000000000000..77ebc0241c0d
--- /dev/null
+++ b/games/xword/Makefile
@@ -0,0 +1,21 @@
+# ex:ts=8
+# Ports collection makefile for: xword
+# Date created: Nov 1, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= xword
+PORTVERSION= 0.07
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk--
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/games/xword/distinfo b/games/xword/distinfo
new file mode 100644
index 000000000000..a42e503f7e26
--- /dev/null
+++ b/games/xword/distinfo
@@ -0,0 +1 @@
+MD5 (xword-0.07.tar.gz) = 4354f6b37cc191bffcd12d7dd4ab6fad
diff --git a/games/xword/files/patch-Clue.cpp b/games/xword/files/patch-Clue.cpp
new file mode 100644
index 000000000000..b7ddedfeffc6
--- /dev/null
+++ b/games/xword/files/patch-Clue.cpp
@@ -0,0 +1,11 @@
+--- src/Clue.cpp.orig Sat Nov 2 02:35:59 2002
++++ src/Clue.cpp Sat Nov 2 02:36:23 2002
+@@ -28,6 +28,8 @@
+
+ #include "Namespace.h"
+
++using namespace std;
++
+ NAMESPACE_OPEN
+
+ //------------------------------------------------------------------------------
diff --git a/games/xword/files/patch-ErrorManager.h b/games/xword/files/patch-ErrorManager.h
new file mode 100644
index 000000000000..0e4f95dc69f3
--- /dev/null
+++ b/games/xword/files/patch-ErrorManager.h
@@ -0,0 +1,11 @@
+--- src/ErrorManager.h.orig Sat Nov 2 02:37:03 2002
++++ src/ErrorManager.h Sat Nov 2 02:48:40 2002
+@@ -77,7 +77,7 @@
+ typedef ErrorManager EM;
+
+
+-class file_error : public runtime_error
++class file_error : public std::runtime_error
+ {
+ public:
+ file_error(const std::string& str);
diff --git a/games/xword/files/patch-FileUtil.cpp b/games/xword/files/patch-FileUtil.cpp
new file mode 100644
index 000000000000..7b8118657d77
--- /dev/null
+++ b/games/xword/files/patch-FileUtil.cpp
@@ -0,0 +1,11 @@
+--- src/FileUtil.cpp.orig Sat Nov 2 02:49:46 2002
++++ src/FileUtil.cpp Sat Nov 2 02:50:03 2002
+@@ -40,6 +40,8 @@
+
+ #include "Namespace.h"
+
++using namespace std;
++
+ NAMESPACE_OPEN
+
+ //------------------------------------------------------------------------------
diff --git a/games/xword/files/patch-GridWidget.cpp b/games/xword/files/patch-GridWidget.cpp
new file mode 100644
index 000000000000..c41e95941131
--- /dev/null
+++ b/games/xword/files/patch-GridWidget.cpp
@@ -0,0 +1,19 @@
+--- src/GridWidget.cpp.orig Sat Nov 2 02:51:23 2002
++++ src/GridWidget.cpp Sat Nov 2 02:53:22 2002
+@@ -24,6 +24,7 @@
+
+ #include "GridWidget.h"
+
++#include <iostream>
+ #include <gdk/gdkkeysyms.h>
+ #include <gtk--/style.h>
+
+@@ -32,6 +33,8 @@
+ //------------------------------------------------------------------------------
+
+ #include "Namespace.h"
++
++using namespace std;
+
+ NAMESPACE_OPEN
+
diff --git a/games/xword/files/patch-Interface.cpp b/games/xword/files/patch-Interface.cpp
new file mode 100644
index 000000000000..2c106f4c714b
--- /dev/null
+++ b/games/xword/files/patch-Interface.cpp
@@ -0,0 +1,19 @@
+--- src/Interface.cpp.orig Sat Nov 2 02:54:11 2002
++++ src/Interface.cpp Sat Nov 2 02:54:33 2002
+@@ -34,6 +34,7 @@
+ #include <gtk--/toolbar.h>
+ #include <gtk--/window.h>
+ #include <stdexcept>
++#include <algorithm>
+
+ #include "Error.h"
+ #include "Filename.h"
+@@ -42,6 +43,8 @@
+ #include "String.h"
+
+ #include "Namespace.h"
++
++using namespace std;
+
+ NAMESPACE_OPEN
+
diff --git a/games/xword/files/patch-Log.cpp b/games/xword/files/patch-Log.cpp
new file mode 100644
index 000000000000..fc2f9a671f8d
--- /dev/null
+++ b/games/xword/files/patch-Log.cpp
@@ -0,0 +1,14 @@
+--- src/Log.cpp.orig Sat Nov 2 02:55:14 2002
++++ src/Log.cpp Sat Nov 2 02:55:36 2002
+@@ -23,8 +23,11 @@
+ //------------------------------------------------------------------------------
+
+ #include "Log.h"
++#include <iostream>
+
+ #include "Namespace.h"
++
++using namespace std;
+
+ NAMESPACE_OPEN
+
diff --git a/games/xword/files/patch-Puzzle.cpp b/games/xword/files/patch-Puzzle.cpp
new file mode 100644
index 000000000000..2f5c5d315745
--- /dev/null
+++ b/games/xword/files/patch-Puzzle.cpp
@@ -0,0 +1,19 @@
+--- src/Puzzle.cpp.orig Sat Nov 2 02:56:14 2002
++++ src/Puzzle.cpp Sat Nov 2 02:57:54 2002
+@@ -26,6 +26,7 @@
+
+ #include "Puzzle.h"
+
++#include <iostream>
+ #include <fstream>
+ #include <stdexcept>
+ #include <stdio.h>
+@@ -35,6 +36,8 @@
+ #include "String.h"
+
+ #include "Namespace.h"
++
++using namespace std;
+
+ NAMESPACE_OPEN
+
diff --git a/games/xword/pkg-comment b/games/xword/pkg-comment
new file mode 100644
index 000000000000..b28854acbc2f
--- /dev/null
+++ b/games/xword/pkg-comment
@@ -0,0 +1 @@
+A crossword puzzle application
diff --git a/games/xword/pkg-descr b/games/xword/pkg-descr
new file mode 100644
index 000000000000..f92a43b8eb4d
--- /dev/null
+++ b/games/xword/pkg-descr
@@ -0,0 +1,5 @@
+xword is a crossword puzzle application for UNIX/X that allows users to open
+and solve AcrossLite puzzle format files (such as The New York Times and
+The Washington Post).
+
+WWW: http://xword.sourceforge.net/
diff --git a/games/xword/pkg-plist b/games/xword/pkg-plist
new file mode 100644
index 000000000000..aaca1f0d699c
--- /dev/null
+++ b/games/xword/pkg-plist
@@ -0,0 +1,10 @@
+bin/xword
+share/xword/default.puz
+share/xword/exit.xpm
+share/xword/light_brushed.xpm
+share/xword/open.xpm
+share/xword/save.xpm
+share/xword/xword.gtkrc
+share/xword/xword.xpm
+share/xword/xword2.xpm
+@dirrm share/xword