From cf439dd621d9cf34d0feba802602542511c06d43 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 1 Nov 2002 19:06:56 +0000 Subject: add xword 0.07 A crossword puzzle application --- games/xword/Makefile | 21 +++++++++++++++++++++ games/xword/distinfo | 1 + games/xword/files/patch-Clue.cpp | 11 +++++++++++ games/xword/files/patch-ErrorManager.h | 11 +++++++++++ games/xword/files/patch-FileUtil.cpp | 11 +++++++++++ games/xword/files/patch-GridWidget.cpp | 19 +++++++++++++++++++ games/xword/files/patch-Interface.cpp | 19 +++++++++++++++++++ games/xword/files/patch-Log.cpp | 14 ++++++++++++++ games/xword/files/patch-Puzzle.cpp | 19 +++++++++++++++++++ games/xword/pkg-comment | 1 + games/xword/pkg-descr | 5 +++++ games/xword/pkg-plist | 10 ++++++++++ 12 files changed, 142 insertions(+) create mode 100644 games/xword/Makefile create mode 100644 games/xword/distinfo create mode 100644 games/xword/files/patch-Clue.cpp create mode 100644 games/xword/files/patch-ErrorManager.h create mode 100644 games/xword/files/patch-FileUtil.cpp create mode 100644 games/xword/files/patch-GridWidget.cpp create mode 100644 games/xword/files/patch-Interface.cpp create mode 100644 games/xword/files/patch-Log.cpp create mode 100644 games/xword/files/patch-Puzzle.cpp create mode 100644 games/xword/pkg-comment create mode 100644 games/xword/pkg-descr create mode 100644 games/xword/pkg-plist (limited to 'games/xword') 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 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 + #include + #include + +@@ -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 + #include + #include ++#include + + #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 + + #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 + #include + #include + #include +@@ -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 -- cgit v1.2.3