Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 20:10:53 +0800 (CST)
From:      Leland Wang <llwang@infor.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61419: new ports: games/py-sgflib games/py-sgfsummary python library to parse SGF files and a program to summarize SGF files
Message-ID:  <200401161210.i0GCArZB011372@leland.infor.org>
Resent-Message-ID: <200401161220.i0GCKFHN057475@freefall.freebsd.org>

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

>Number:         61419
>Category:       ports
>Synopsis:       new ports: games/py-sgflib games/py-sgfsummary python library to parse SGF files and a program to summarize SGF files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 16 04:20:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Leland Wang
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD leland.infor.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Jan 3 11:07:37 CST 2004 llwang@leland.infor.org:/home/mp3/obj/usr/src/sys/LELAND i386


	
>Description:
sgflib is a python library to parse the Smart Go Format.
sgfsummary is a python program to summarize SGF files.
They are parts of the Go Tools Project.
	
>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:
#
#	py-sgflib
#	py-sgflib/Makefile
#	py-sgflib/pkg-descr
#	py-sgflib/pkg-plist
#	py-sgflib/distinfo
#	py-sgfsummary
#	py-sgfsummary/Makefile
#	py-sgfsummary/pkg-descr
#	py-sgfsummary/pkg-plist
#	py-sgfsummary/distinfo
#
echo c - py-sgflib
mkdir -p py-sgflib > /dev/null 2>&1
echo x - py-sgflib/Makefile
sed 's/^X//' >py-sgflib/Makefile << 'END-of-py-sgflib/Makefile'
X# Ports collection makefile for:	py-sgflib
X# Date created:			January 16, 2004
X# Whom:				Leland Wang <llwang@infor.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sgflib
XPORTVERSION=	1.0
XCATEGORIES=	games python
XMASTER_SITES=	http://gotools.sourceforge.net/sgflib/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	${PORTNAME}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	llwang@infor.org
XCOMMENT=	Smart Game Format Parser Library for Python
X
XUSE_PYTHON=	yes
XNO_BUILD=	yes
XWRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/sgflib.py ${PYTHON_SITELIBDIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/typelib.py ${PYTHON_SITELIBDIR}
X
X.include <bsd.port.mk>
END-of-py-sgflib/Makefile
echo x - py-sgflib/pkg-descr
sed 's/^X//' >py-sgflib/pkg-descr << 'END-of-py-sgflib/pkg-descr'
XSgflib is a python module containing a parser and classes for SGF, the
XSmart Game Format. It is a part of the Go Tools Project.
X
XAuthor: David John Goodger <goodger@python.org>
XWWW: http://gotools.sourceforge.net/sgflib/
END-of-py-sgflib/pkg-descr
echo x - py-sgflib/pkg-plist
sed 's/^X//' >py-sgflib/pkg-plist << 'END-of-py-sgflib/pkg-plist'
X%%PYTHON_SITELIBDIR%%/sgflib.py
X%%PYTHON_SITELIBDIR%%/typelib.py
END-of-py-sgflib/pkg-plist
echo x - py-sgflib/distinfo
sed 's/^X//' >py-sgflib/distinfo << 'END-of-py-sgflib/distinfo'
XMD5 (sgflib.tgz) = 12a5785b28015613b9e9b4564f300216
END-of-py-sgflib/distinfo
echo c - py-sgfsummary
mkdir -p py-sgfsummary > /dev/null 2>&1
echo x - py-sgfsummary/Makefile
sed 's/^X//' >py-sgfsummary/Makefile << 'END-of-py-sgfsummary/Makefile'
X# Ports collection makefile for:	py-sgfsummary
X# Date created:			January 16, 2004
X# Whom:				Leland Wang <llwang@infor.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sgfsummary
XPORTVERSION=	1.0
XCATEGORIES=	games python
XMASTER_SITES=	http://gotools.sourceforge.net/sgfsummary/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	${PORTNAME}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	llwang@infor.org
XCOMMENT=	SGF Summarizer
X
XRUN_DEPENDS=	${PYTHON_SITELIBDIR}/sgflib.py:${PORTSDIR}/games/py-sgflib
X
XUSE_PYTHON=	yes
XNO_BUILD=	yes
XWRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/sgfsummary.py ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-py-sgfsummary/Makefile
echo x - py-sgfsummary/pkg-descr
sed 's/^X//' >py-sgfsummary/pkg-descr << 'END-of-py-sgfsummary/pkg-descr'
XSgfsummary reads multiple SGF (Smart Game Format) files, specifically
Xthose recording Go/WeiQi/Baduk games, and summarizes their game
Xinformation to standard output. It is a part of the Go Tools Project.
X
XAuthor: David John Goodger <goodger@python.org>
XWWW: http://gotools.sourceforge.net/sgfsummary/
END-of-py-sgfsummary/pkg-descr
echo x - py-sgfsummary/pkg-plist
sed 's/^X//' >py-sgfsummary/pkg-plist << 'END-of-py-sgfsummary/pkg-plist'
Xbin/sgfsummary.py
END-of-py-sgfsummary/pkg-plist
echo x - py-sgfsummary/distinfo
sed 's/^X//' >py-sgfsummary/distinfo << 'END-of-py-sgfsummary/distinfo'
XMD5 (sgfsummary.tgz) = f673f307f498664ca19ac2da1a4083e2
END-of-py-sgfsummary/distinfo
exit


	


>Release-Note:
>Audit-Trail:
>Unformatted:



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