diff options
author | minskim <minskim@pkgsrc.org> | 2005-02-20 16:18:41 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-02-20 16:18:41 +0000 |
commit | f06276def4c04773b45e7f96ab4674081ccc591a (patch) | |
tree | 284a43312fa3b2617a3fcf89734100b53492e2e9 /games | |
parent | c0c7a135515c68d4e1366d8fd2c0bd57bd89fdda (diff) | |
download | pkgsrc-f06276def4c04773b45e7f96ab4674081ccc591a.tar.gz |
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 (limited to 'games')
-rw-r--r-- | games/scid/DESCR | 6 | ||||
-rw-r--r-- | games/scid/Makefile | 32 | ||||
-rw-r--r-- | games/scid/PLIST | 20 | ||||
-rw-r--r-- | games/scid/distinfo | 5 | ||||
-rw-r--r-- | games/scid/patches/patch-aa | 55 |
5 files changed, 118 insertions, 0 deletions
diff --git a/games/scid/DESCR b/games/scid/DESCR new file mode 100644 index 00000000000..79b170cbe17 --- /dev/null +++ b/games/scid/DESCR @@ -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 --git a/games/scid/Makefile b/games/scid/Makefile new file mode 100644 index 00000000000..36947308845 --- /dev/null +++ b/games/scid/Makefile @@ -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 +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 --git a/games/scid/PLIST b/games/scid/PLIST new file mode 100644 index 00000000000..f3e7cc6bc8b --- /dev/null +++ b/games/scid/PLIST @@ -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 --git a/games/scid/distinfo b/games/scid/distinfo new file mode 100644 index 00000000000..653ed7779cd --- /dev/null +++ b/games/scid/distinfo @@ -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 --git a/games/scid/patches/patch-aa b/games/scid/patches/patch-aa new file mode 100644 index 00000000000..67c62998b9e --- /dev/null +++ b/games/scid/patches/patch-aa @@ -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)} |