Skip site navigation (1)Skip section navigation (2)
Date:      25 Feb 2002 21:29:42 -0000
From:      Friedrich Volkmann <volkmann@chello.at>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35322: new port: databases/scid
Message-ID:  <20020225212942.24946.qmail@chello195034140193.11.vie.surfer.at>

next in thread | raw e-mail | index | archive | help

>Number:         35322
>Category:       ports
>Synopsis:       new port: databases/scid
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 25 13:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Friedrich Volkmann
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD tk140193.telekabel.at 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Feb 1 23:09:35 CET 2002 root@tk140193.telekabel.at:/d1/obj/d1/src/sys/CU01 i386


	
>Description:
	new port: databases/scid
	Scid is a chess database application. See http://scid.sourceforge.net/
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	scid
#	scid/files
#	scid/files/patch-aa
#	scid/files/patch-ab
#	scid/Makefile
#	scid/pkg-comment
#	scid/pkg-plist
#	scid/pkg-descr
#	scid/distinfo
#
echo c - scid
mkdir -p scid > /dev/null 2>&1
echo c - scid/files
mkdir -p scid/files > /dev/null 2>&1
echo x - scid/files/patch-aa
sed 's/^X//' >scid/files/patch-aa << 'END-of-scid/files/patch-aa'
X--- configure.orig	Fri Dec 21 01:10:33 2001
X+++ configure	Thu Jan 10 18:33:44 2002
X@@ -14,7 +14,7 @@
X # tclsh program with a version number in the file name is found, the
X # default program to execute is just tclsh.
X # The backslashes at the end of these lines are needed: \
X-tclsh=tclsh;
X+# tclsh=tclsh;
X 
X # This shell script code did not work for me in Linux so it is
X # commented out for now; the configure script will just run in
X@@ -28,6 +28,7 @@
X 
X # Now execute this script using the best tclsh version found:
X # The backslash at the end of this line is needed: \
X+tclsh=tclsh8.3 \
X exec $tclsh "$0" ${1+"$@"}
X 
X 
END-of-scid/files/patch-aa
echo x - scid/files/patch-ab
sed 's/^X//' >scid/files/patch-ab << 'END-of-scid/files/patch-ab'
X--- scripts/wmtest.tk.orig	Fri Dec 21 01:10:46 2001
X+++ scripts/wmtest.tk	Sat Jan 26 11:07:25 2002
X@@ -1,4 +1,4 @@
X-#!/usr/bin/env wish
X+#!/usr/bin/env wish8.3
X 
X # wmtest:
X #  Test if your currently-running Unix/Linux window manager has
END-of-scid/files/patch-ab
echo x - scid/Makefile
sed 's/^X//' >scid/Makefile << 'END-of-scid/Makefile'
X# New ports collection makefile for:    scid
X# Date created:         25 February 2002
X# Whom:                 Friedrich Volkmann <volkmann@chello.at>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	scid
XPORTVERSION=	3.2
XCATEGORIES=	databases games tk83 tcl83
XMASTER_SITES=	http://scid.sourceforge.net/download/
X
XMAINTAINER=	volkmann@chello.at
X
XLIB_DEPENDS=	tcl83.1:${PORTSDIR}/lang/tcl83 \
X		tk83.1:${PORTSDIR}/x11-toolkits/tk83
XRUN_DEPENDS=	python:${PORTSDIR}/lang/python
X
XUSE_XLIB=	yes
XUSE_GMAKE=	yes
XHAS_CONFIGURE=	yes
X
XCONFIGURE_ARGS=	TCL_INCLUDE="-I ${LOCALBASE}/include/tcl8.3 -I ${LOCALBASE}/include/tk8.3 -I ${X11BASE}/include" \
X		TCL_LIBRARY="-L ${LOCALBASE}/lib -ltcl83" \
X		TCL_VERSION="8.3" \
X		TK_LIBRARY="-L ${LOCALBASE}/lib -ltcl83 -ltk83 -L ${X11BASE}/lib -lX11" \
X		BINDIR="${PREFIX}/bin" \
X		SHAREDIR="${PREFIX}/share/scid" \
X		OPTIMIZE="${CXXFLAGS}" WARNINGS=""
X
Xdo-install:
X.for file in pgnscid tkscid tcscid scmerge
X	@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
X.endfor
X.for file in scid sc_addmove sc_epgn sc_spell sc_eco sc_import sc_tree scidpgn pgnfix
X	@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
X.endfor
X	@${MKDIR} ${PREFIX}/share/scid
X	@${INSTALL_DATA} ${WRKSRC}/scid.eco ${PREFIX}/share/scid
X	@${INSTALL_DATA} ${WRKSRC}/spelling.ssp ${PREFIX}/share/scid
X
X.include <bsd.port.mk>
END-of-scid/Makefile
echo x - scid/pkg-comment
sed 's/^X//' >scid/pkg-comment << 'END-of-scid/pkg-comment'
XA free chess database application
END-of-scid/pkg-comment
echo x - scid/pkg-plist
sed 's/^X//' >scid/pkg-plist << 'END-of-scid/pkg-plist'
Xbin/pgnfix
Xbin/pgnscid
Xbin/sc_addmove
Xbin/sc_epgn
Xbin/sc_spell
Xbin/sc_eco
Xbin/sc_import
Xbin/sc_tree
Xbin/scmerge
Xbin/scid
Xbin/scidpgn
Xbin/tcscid
Xbin/tkscid
Xshare/scid/scid.eco
Xshare/scid/spelling.ssp
X@dirrm share/scid
END-of-scid/pkg-plist
echo x - scid/pkg-descr
sed 's/^X//' >scid/pkg-descr << 'END-of-scid/pkg-descr'
XScid is a powerful chess database application with many search features.
XIts GUI makes entering chess games fast and easy, and you can search games
Xby exact position, material, player names, and many other criteria. It does
Xnot come with any actual file of chess games, but it can convert databases
Xto/from the popular PGN format which is widely used for chess games.
X
XAuthor: Shane Hudson <shane@cosc.canterbury.ac.nz>
XWWW: http://scid.sourceforge.net/
END-of-scid/pkg-descr
echo x - scid/distinfo
sed 's/^X//' >scid/distinfo << 'END-of-scid/distinfo'
XMD5 (scid-3.2.tar.gz) = 299f021aeb7166971c25af3a28058a3f
END-of-scid/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020225212942.24946.qmail>