Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+6
View File
@@ -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.
+42
View File
@@ -0,0 +1,42 @@
# $NetBSD: Makefile,v 1.18 2013/06/06 12:54:26 wiz Exp $
#
DISTNAME= scid-3.6.1
PKGREVISION= 7
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scid/}
MAINTAINER= luapzz@gmail.com
HOMEPAGE= http://scid.sourceforge.net/
COMMENT= Shane's Chess Information Database
USE_PKGLOCALEDIR= yes
HAS_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
# Make the LINK command CXX and the LDFLAGS.
LINK= ${CXX} ${LDFLAGS}
CONFIGURE_ENV+= TCLCONFIG_SH=${TCLCONFIG_SH:Q}
CONFIGURE_ARGS+= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}/share/scid
CONFIGURE_ARGS+= COMPILE=${CXX:Q} OPTIMIZE=${CFLAGS:Q} LINK=${LINK:Q}
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'
SUBST_SED.paths+= -e 's,@TKPREFIX@,${BUILDLINK_PREFIX.tk},g'
SUBST_SED.paths+= -e 's,@LIBDL@,${BUILDLINK_LDADD.dl},g'
MAKE_ENV+= X_LDFLAGS=${X11_LDFLAGS:Q}
REPLACE_PYTHON+= scripts/pgnfix.py
.include "../../lang/python/application.mk"
.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"
+19
View File
@@ -0,0 +1,19 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:56:55 joerg 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
+6
View File
@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2006/04/21 11:52:19 joerg Exp $
SHA1 (scid-3.6.1.tar.gz) = a002a42afd46cc59a3c512473891a227d29ecc34
RMD160 (scid-3.6.1.tar.gz) = ebc660d56fe5e29429586e76904d9238185a1c0c
Size (scid-3.6.1.tar.gz) = 2272946 bytes
SHA1 (patch-aa) = 88359fa77d0e9559420a8eada3a5a9fc56a85b28
+69
View File
@@ -0,0 +1,69 @@
$NetBSD: patch-aa,v 1.2 2006/04/21 11:52:19 joerg Exp $
--- configure.orig 2004-03-02 19:09:53.000000000 +0000
+++ 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+"$@"}
@@ -61,10 +64,10 @@ set var(TCL_VERSION) $tcl_version
set var(WARNINGS) -Wall
set var(ZLIB) -lz
-set defaultVar(TCL_INCLUDE) {-I/usr/include}
-set defaultVar(TCL_LIBRARY) {-L/usr/lib -ltcl$(TCL_VERSION) -ldl}
+set defaultVar(TCL_INCLUDE) {-I@TCLPREFIX@/include}
+set defaultVar(TCL_LIBRARY) {-L@TCLPREFIX@/lib -Wl,-R@TCLPREFIX@/lib -ltcl$(TCL_VERSION) @LIBDL@}
set defaultVar(TK_LIBRARY) \
- {$(TCL_LIBRARY) -ltk$(TCL_VERSION) -L/usr/X11R6/lib -lX11}
+ {-L@TKPREFIX@/lib -Wl,-R@TKPREFIX@/lib $(TCL_LIBRARY) -ltk$(TCL_VERSION) $(X_LDFLAGS) -lX11}
# findDir:
@@ -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)}