summaryrefslogtreecommitdiff
path: root/games/gnomechess
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-01-29 10:15:08 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-01-29 10:15:08 +0000
commit5e7f475c0cdaad77c2f340145bf8e9417867675a (patch)
tree5333f616d90d811d395aeab8b32816641302e61d /games/gnomechess
parentadd my copy to MASTER_SITES since distfile is gone from (diff)
Initial import of GNOME Chess 0.2.4.
Notes
Notes: svn path=/head/; revision=25238
Diffstat (limited to 'games/gnomechess')
-rw-r--r--games/gnomechess/Makefile35
-rw-r--r--games/gnomechess/distinfo1
-rw-r--r--games/gnomechess/files/patch-aa38
-rw-r--r--games/gnomechess/files/patch-ab11
-rw-r--r--games/gnomechess/files/patch-ac11
-rw-r--r--games/gnomechess/pkg-comment1
-rw-r--r--games/gnomechess/pkg-descr6
-rw-r--r--games/gnomechess/pkg-plist28
8 files changed, 131 insertions, 0 deletions
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile
new file mode 100644
index 000000000000..69dd08ae6f17
--- /dev/null
+++ b/games/gnomechess/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: gnomechess
+# Version required: 0.2.4
+# Date created: 29 January 2000
+# Whom: Jeremy Lea <reg@shale.csir.co.za>
+#
+# $FreeBSD$
+#
+
+DISTNAME= gnome-chess-0.2.4
+PKGNAME= gnomechess-0.2.4
+CATEGORIES= games gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= stable/sources/gnome-chess
+
+MAINTAINER= reg@freebsd.org
+
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+BUILD_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
+ crafty:${PORTSDIR}/games/crafty
+RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
+ crafty:${PORTSDIR}/games/crafty
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome \
+ --with-gnome=${PREFIX}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ LIBS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/games/gnomechess/distinfo b/games/gnomechess/distinfo
new file mode 100644
index 000000000000..df20dc68de69
--- /dev/null
+++ b/games/gnomechess/distinfo
@@ -0,0 +1 @@
+MD5 (gnome-chess-0.2.4.tar.gz) = 905c82c0f80d5cb8a77282d1c6083c43
diff --git a/games/gnomechess/files/patch-aa b/games/gnomechess/files/patch-aa
new file mode 100644
index 000000000000..1f32f0197619
--- /dev/null
+++ b/games/gnomechess/files/patch-aa
@@ -0,0 +1,38 @@
+--- configure.orig Sat Nov 6 16:57:13 1999
++++ configure Sat Jan 29 01:50:47 2000
+@@ -2103,7 +2103,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- PTHREAD_LIB="-lc_r"
++ PTHREAD_LIB=""
+ else
+ echo "$ac_t""no" 1>&6
+ echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
+@@ -3856,7 +3856,7 @@
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CATOBJEXT=.mo
+- DATADIRNAME=lib
++ DATADIRNAME=share
+ fi
+ rm -f conftest*
+ INSTOBJEXT=.mo
+@@ -4244,13 +4244,13 @@
+ fi
+
+
+- USE_INCLUDED_LIBINTL=yes
++# USE_INCLUDED_LIBINTL=yes
+ CATOBJEXT=.gmo
+ INSTOBJEXT=.mo
+ DATADIRNAME=share
+- INTLDEPS='$(top_builddir)/intl/libintl.a'
+- INTLLIBS=$INTLDEPS
+- LIBS=`echo $LIBS | sed -e 's/-lintl//'`
++# INTLDEPS='$(top_builddir)/intl/libintl.a'
++# INTLLIBS=$INTLDEPS
++# LIBS=`echo $LIBS | sed -e 's/-lintl//'`
+ nls_cv_header_intl=intl/libintl.h
+ nls_cv_header_libgt=intl/libgettext.h
+ fi
diff --git a/games/gnomechess/files/patch-ab b/games/gnomechess/files/patch-ab
new file mode 100644
index 000000000000..549bb667dceb
--- /dev/null
+++ b/games/gnomechess/files/patch-ab
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sat Nov 6 16:58:14 1999
++++ Makefile.in Sat Jan 29 01:51:02 2000
+@@ -115,7 +115,7 @@
+ Icon_DATA = gnome-chess.png
+ Mime_DATA = gnome-chess.keys gnome-chess.mime
+
+-Gamesdir = $(datadir)/gnome/apps/Games
++Gamesdir = $(datadir)/apps/Games
+ Icondir = $(datadir)/pixmaps
+ Mimedir = $(datadir)/mime-info
+
diff --git a/games/gnomechess/files/patch-ac b/games/gnomechess/files/patch-ac
new file mode 100644
index 000000000000..a5e6af8d4c83
--- /dev/null
+++ b/games/gnomechess/files/patch-ac
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Sat Nov 6 16:58:16 1999
++++ src/Makefile.in Sat Jan 29 01:51:50 2000
+@@ -113,7 +113,7 @@
+
+ bin_PROGRAMS = gnome-chess
+
+-INCLUDES = -DGNOMELOCALEDIR=\""$(datadir)/locale"\" -DGNOMEDATADIR=\""$(datadir)"\" -I$(includedir) $(GNOME_INCLUDEDIR)
++INCLUDES = -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DGNOMEDATADIR=\""$(datadir)"\" -I$(includedir) $(GNOME_INCLUDEDIR)
+
+
+ gnome_chess_SOURCES = debug.c position.c timer.c movgen.c cho1.c movlist.c ckis.c board.c misc.c main.c disk.c pgn.c cfgfiles.c serverlist.c gtkutil.c menu.c prefs.c child.c engine.c engine_local.c engine_null.c zvt.c engine_ics_scan.l engine_ics.c dialog_login.c level.c gnome_chess.h debug.h cfgfiles.h sound.c serverlist.h gtkutil.h board.h ckis.h menu.h prefs.h pro.h position.h timer.h engine.h engine_local.h zvt.h engine_ics_scan.h engine_ics.h dialog_login.h child.h disk.h movlist.h pgn.h cho1.h makros.h sound.h engine_null.h
diff --git a/games/gnomechess/pkg-comment b/games/gnomechess/pkg-comment
new file mode 100644
index 000000000000..8fceda5172b1
--- /dev/null
+++ b/games/gnomechess/pkg-comment
@@ -0,0 +1 @@
+A GUI chess front-end to crafy, for the GNOME Desktop Environment
diff --git a/games/gnomechess/pkg-descr b/games/gnomechess/pkg-descr
new file mode 100644
index 000000000000..a75a15e39936
--- /dev/null
+++ b/games/gnomechess/pkg-descr
@@ -0,0 +1,6 @@
+A GUI chess front-end to crafy, for the GNOME Desktop Environment
+
+It works with chess programs and chess servers - it is also a PGN viewer.
+For chess programs, it works best with the chess engine crafty
+(ftp://ftp.cis.uab.edu/pub/hyatt) but most features should also work with
+GNU Chess (ftp://ftp.gnu.org).
diff --git a/games/gnomechess/pkg-plist b/games/gnomechess/pkg-plist
new file mode 100644
index 000000000000..7f513d45bc94
--- /dev/null
+++ b/games/gnomechess/pkg-plist
@@ -0,0 +1,28 @@
+bin/gnome-chess
+share/gnome/apps/Games/gnome-chess.desktop
+share/gnome/mime-info/gnome-chess.keys
+share/gnome/mime-info/gnome-chess.mime
+share/gnome/pixmaps/gnome-chess.png
+share/gnome/pixmaps/gnome-chess/B.png
+share/gnome/pixmaps/gnome-chess/K.png
+share/gnome/pixmaps/gnome-chess/N.png
+share/gnome/pixmaps/gnome-chess/P.png
+share/gnome/pixmaps/gnome-chess/Q.png
+share/gnome/pixmaps/gnome-chess/R.png
+share/gnome/pixmaps/gnome-chess/b.png
+share/gnome/pixmaps/gnome-chess/k.png
+share/gnome/pixmaps/gnome-chess/n.png
+share/gnome/pixmaps/gnome-chess/p.png
+share/gnome/pixmaps/gnome-chess/q.png
+share/gnome/pixmaps/gnome-chess/r.png
+share/locale/da/LC_MESSAGES/gnome-chess.mo
+share/locale/de/LC_MESSAGES/gnome-chess.mo
+share/locale/es/LC_MESSAGES/gnome-chess.mo
+share/locale/fr/LC_MESSAGES/gnome-chess.mo
+share/locale/nl/LC_MESSAGES/gnome-chess.mo
+share/locale/no/LC_MESSAGES/gnome-chess.mo
+share/locale/pl/LC_MESSAGES/gnome-chess.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-chess.mo
+share/locale/ru/LC_MESSAGES/gnome-chess.mo
+share/locale/sv/LC_MESSAGES/gnome-chess.mo
+@dirrm share/gnome/pixmaps/gnome-chess