pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/scid Import scid. Packaged by Jung-Min Seo, aka...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9ca620ef546
branches:  trunk
changeset: 489401:c9ca620ef546
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Feb 20 16:18:41 2005 +0000

description:
Import scid.  Packaged by Jung-Min Seo, aka luapz, and modified by me.

Scid is a chess database application.  With Scid you can maintain a
database of chess games, search games by many criteria, view graphical
trends, and produce printable reports on players and openings.  You can
also analyze games with the chess program Scidlet or any other
WinBoard-compatible chess engine, and even use Scid to study endings
with endgame tablebases.  There are many more features as well.

diffstat:

 games/scid/DESCR            |   6 ++++
 games/scid/Makefile         |  32 ++++++++++++++++++++++++++
 games/scid/PLIST            |  20 ++++++++++++++++
 games/scid/distinfo         |   5 ++++
 games/scid/patches/patch-aa |  55 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 118 insertions(+), 0 deletions(-)

diffs (138 lines):

diff -r 384c537b0e5e -r c9ca620ef546 games/scid/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/scid/DESCR  Sun Feb 20 16:18:41 2005 +0000
@@ -0,0 +1,6 @@
+Scid is a chess database application.  With Scid you can maintain a
+database of chess games, search games by many criteria, view graphical
+trends, and produce printable reports on players and openings.  You can
+also analyze games with the chess program Scidlet or any other
+WinBoard-compatible chess engine, and even use Scid to study endings
+with endgame tablebases.  There are many more features as well.
diff -r 384c537b0e5e -r c9ca620ef546 games/scid/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/scid/Makefile       Sun Feb 20 16:18:41 2005 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/20 16:18:41 minskim Exp $
+#
+
+DISTNAME=              scid-3.6.1
+CATEGORIES=            games
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=scid/}
+
+MAINTAINER=            luapzz%gmail.com@localhost
+HOMEPAGE=              http://scid.sourceforge.net/
+COMMENT=               Shane's Chess Information Database
+
+USE_BUILDLINK3=                yes
+USE_PKGLOCALEDIR=      yes
+HAS_CONFIGURE=         yes
+USE_GNU_TOOLS+=                make
+
+CONFIGURE_ENV+=                TCLCONFIG_SH=${TCLCONFIG_SH:Q}
+CONFIGURE_ARGS+=       BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}/share/scid
+
+SUBST_CLASSES+=                paths
+SUBST_MESSAGE.paths=   "Fixing paths to tcl.h and tk.h."
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     configure
+SUBST_SED.paths=       -e 's,@TCLPREFIX@,${BUILDLINK_PREFIX.tcl},g'    \
+                       -e 's,@TKPREFIX@,${BUILDLINK_PREFIX.tk},g'      \
+                       -e 's,@LIBDL@,${BUILDLINK_LDADD.dl},g'
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 384c537b0e5e -r c9ca620ef546 games/scid/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/scid/PLIST  Sun Feb 20 16:18:41 2005 +0000
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/20 16:18:41 minskim Exp $
+bin/pgnfix
+bin/pgnscid
+bin/sc_addmove
+bin/sc_epgn
+bin/sc_spell
+bin/sc_eco
+bin/sc_import
+bin/sc_remote
+bin/sc_tree
+bin/scid
+bin/scidlet
+bin/scidpgn
+bin/scmerge
+bin/spliteco
+bin/tcscid
+bin/tkscid
+share/scid/scid.eco
+share/scid/spelling.ssp
+@dirrm share/scid
diff -r 384c537b0e5e -r c9ca620ef546 games/scid/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/scid/distinfo       Sun Feb 20 16:18:41 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/20 16:18:41 minskim Exp $
+
+SHA1 (scid-3.6.1.tar.gz) = a002a42afd46cc59a3c512473891a227d29ecc34
+Size (scid-3.6.1.tar.gz) = 2272946 bytes
+SHA1 (patch-aa) = 5ca2e398007210da5fe1a41a0a7a28fd6dcf54fe
diff -r 384c537b0e5e -r c9ca620ef546 games/scid/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/scid/patches/patch-aa       Sun Feb 20 16:18:41 2005 +0000
@@ -0,0 +1,55 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/20 16:18:41 minskim Exp $
+
+--- configure.orig     2004-03-02 13:09:53.000000000 -0600
++++ configure
+@@ -26,6 +26,9 @@ tclsh=tclsh;
+ ##  done; \
+ ## done
+ 
++# Read tclConfig.sh \
++. ${TCLCONFIG_SH}; export TCL_LIBS
++
+ # Now execute this script using the best tclsh version found:
+ # The backslash at the end of this line is needed: \
+ exec $tclsh "$0" ${1+"$@"}
+@@ -105,14 +108,8 @@ proc findTclTkPaths {} {
+ 
+     # headerPath: List of possible locations for tcl.h and tk.h
+     set headerPath {
+-        /usr/include
+-        /usr/local/tcl/include
+-        /usr/local/include
+-        /usr/X11/include
+-        /usr/X11R6/include
+-        /usr/local/X11/include
+-        /opt/tcltk/include
+-        /usr/X11R/include
++        @TCLPREFIX@/include
++        @TKPREFIX@/include
+     }
+     lappend headerPath "/usr/local/include/tcl${tclv}"
+     lappend headerPath "/usr/local/include/tk${tclv}"
+@@ -125,11 +122,8 @@ proc findTclTkPaths {} {
+ 
+     # libraryPath: List of possible locations of Tcl/Tk library.
+     set libraryPath {
+-        /usr/lib
+-        /usr/local/tcl/lib
+-        /usr/local/lib
+-        /usr/X11R6/lib
+-        /opt/tcltk/lib
++        @TCLPREFIX@/lib
++        @TKPREFIX@/lib
+     }
+     lappend libraryPath "/usr/lib/tcl${tclv}"
+     lappend libraryPath "/usr/lib/tk${tclv}"
+@@ -242,7 +236,8 @@ proc findTclTkPaths {} {
+             }
+         }
+         if {! [info exists var(TCL_LIBRARY)]} {
+-            set var(TCL_LIBRARY) "-L$opt(tcl_lib) -l$opt(tcl_lib_file) -ldl"
++          global env
++            set var(TCL_LIBRARY) "-L$env(LDFLAGS) -l$opt(tcl_lib_file) @LIBDL@ $env(TCL_LIBS)"
+         }
+         if {! [info exists var(TK_LIBRARY)]} {
+             set var(TK_LIBRARY) {$(TCL_LIBRARY)}



Home | Main Index | Thread Index | Old Index