diff options
author | reg <reg@FreeBSD.org> | 2000-01-29 10:15:08 +0000 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-01-29 10:15:08 +0000 |
commit | a7af79788a68344fae2e02a1d3de242d692133b8 (patch) | |
tree | c81ae17c20779f454b9221a50dbf3025895ac933 /games | |
parent | d6f58e9364040bcb7ab2a4d89df86a745d40d4e0 (diff) | |
download | FreeBSD-ports-a7af79788a68344fae2e02a1d3de242d692133b8.zip FreeBSD-ports-a7af79788a68344fae2e02a1d3de242d692133b8.tar.gz |
Initial import of GNOME Chess 0.2.4.
Diffstat (limited to 'games')
-rw-r--r-- | games/gnomechess/Makefile | 35 | ||||
-rw-r--r-- | games/gnomechess/distinfo | 1 | ||||
-rw-r--r-- | games/gnomechess/files/patch-aa | 38 | ||||
-rw-r--r-- | games/gnomechess/files/patch-ab | 11 | ||||
-rw-r--r-- | games/gnomechess/files/patch-ac | 11 | ||||
-rw-r--r-- | games/gnomechess/pkg-comment | 1 | ||||
-rw-r--r-- | games/gnomechess/pkg-descr | 6 | ||||
-rw-r--r-- | games/gnomechess/pkg-plist | 28 |
8 files changed, 131 insertions, 0 deletions
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile new file mode 100644 index 0000000..69dd08a --- /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 0000000..df20dc6 --- /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 0000000..1f32f01 --- /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 0000000..549bb66 --- /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 0000000..a5e6af8 --- /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 0000000..8fceda5 --- /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 0000000..a75a15e --- /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 0000000..7f513d4 --- /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 |