1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add sgf2tex, a system for typesetting Go games and diagrams using TeX.

PR:		19965
Submitted by:	Steve Coltrin <spcoltri@omcl.org>
This commit is contained in:
Ade Lovett 2000-09-19 16:03:04 +00:00
parent d6eac32219
commit a6e995922b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32860
7 changed files with 148 additions and 0 deletions

View File

@ -92,6 +92,7 @@
SUBDIR += rlpr
SUBDIR += rtf2latex
SUBDIR += ruby-clibpdf
SUBDIR += sgf2tex
SUBDIR += t1utils
SUBDIR += teTeX
SUBDIR += tex

20
print/sgf2tex/Makefile Normal file
View File

@ -0,0 +1,20 @@
# New ports collection makefile for: sgf2tex
# Date created: 24 August 1999
# Whom: spcoltri@unm.edu
#
# $FreeBSD$
#
PORTNAME= sgf2tex
PORTVERSION= 3.2
CATEGORIES= print
MASTER_SITES= ftp://match.stanford.edu/pub/
MAINTAINER= spcoltri@code.cs.unm.edu
BUILD_DEPENDS= tex:${PORTSDIR}/print/teTeX
RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX
MAN1= sgf2tex.1 sgfsplit.1
.include <bsd.port.mk>

1
print/sgf2tex/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (sgf2tex-3.2.tar.gz) = 14a627f98e279245103a5b827851e1c2

View File

@ -0,0 +1,76 @@
*** Makefile~ Tue Aug 24 11:14:33 1999
--- Makefile Tue Aug 24 18:08:01 1999
***************
*** 14,25 ****
# TEXHASH is MakeTeXls-R for WEB2C Unix distribution, texhash for TETEX, blank
# for NTEX.
! MFDIR=/usr/lib/texmf/texmf/fonts/source/public/GOOE
! TFMDIR=/usr/lib/texmf/texmf/fonts/tfm/public/GOOE
! TEXINPUTS=/usr/lib/texmf/texmf/tex/GOOE
! MANDIR=/usr/man/man1/
! BINDIR=/usr/local/bin/
TEXHASH=texhash
# PKFONTS may be left undefined for the initial installation. If you are
# reinstalling fonts for which you have made modifications to the metafont
--- 14,31 ----
# TEXHASH is MakeTeXls-R for WEB2C Unix distribution, texhash for TETEX, blank
# for NTEX.
! MFDIR=${PREFIX}/share/texmf/metafont
! TFMDIR=${PREFIX}/share/texmf/fonts/tfm
! TEXINPUTS=${PREFIX}/share/texmf/tex
! MANDIR=${PREFIX}/man/man1
! BINDIR=${PREFIX}/bin
! .if exists(/usr/local/bin/MakeTeXls-R)
! TEXHASH=MakeTeXls-R
! .elif exists(/usr/local/bin/texhash)
TEXHASH=texhash
+ .else
+ TEXHASH=
+ .endif
# PKFONTS may be left undefined for the initial installation. If you are
# reinstalling fonts for which you have made modifications to the metafont
***************
*** 45,50 ****
--- 51,58 ----
.SUFFIXES : .mf .tfm .300pk .360pk .432pk .600pk .720pk .864pk .300gf .360gf .432gf .600gf .720gf .864gf
+ all: sgfsplit
+
sgfsplit: sgfsplit.c
cc -g -o sgfsplit sgfsplit.c
***************
*** 53,65 ****
install: sgfsplit
rm -f $(PKFONTS)
! install -m 0644 *.mf $(MFDIR)
! install -m 0644 *.tfm $(TFMDIR)
! install -m 0755 sgf2tex sgfsplit $(BINDIR)
! install -m 0644 sgf2tex.1 sgfsplit.1 $(MANDIR)
! install -m 0644 gooemacs.tex gotcmacs.tex $(TEXINPUTS)
$(TEXHASH)
tex manual
# The preferred method of installation is just to copy the metafont
# sources and tfm files into appropriated directories in MakeTeXPK's
--- 61,74 ----
install: sgfsplit
rm -f $(PKFONTS)
! install -c -m 0644 *.mf $(MFDIR)
! install -c -m 0644 *.tfm $(TFMDIR)
! install -c -m 0755 sgf2tex sgfsplit $(BINDIR)
! install -c -m 0644 sgf2tex.1 sgfsplit.1 $(MANDIR)
! install -c -m 0644 gooemacs.tex gotcmacs.tex $(TEXINPUTS)
$(TEXHASH)
tex manual
+ install -c -m 0644 manual.dvi ${PREFIX}/share/doc/sgf2tex.dvi
# The preferred method of installation is just to copy the metafont
# sources and tfm files into appropriated directories in MakeTeXPK's

View File

@ -0,0 +1 @@
Convert a Go game record in SGF format into TeX and provide fonts to make a dvi

9
print/sgf2tex/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
sgf2tex is a system for typesetting Go games and diagrams using TeX. This
system may be used with either plain TeX or LaTeX. It includes the Metafont
sources for a new set of Go fonts, and a Perl script called Sgf2tex which
translates files in ``Smart Go Format'' (SGF) into TeX.
WWW: http://match.stanford.edu/bump/sgf2tex.html
- Steve Coltrin
spcoltri@unm.edu

40
print/sgf2tex/pkg-plist Normal file
View File

@ -0,0 +1,40 @@
bin/sgf2tex
bin/sgfsplit
share/texmf/fonts/tfm/gobl.tfm
share/texmf/fonts/tfm/goea.tfm
share/texmf/fonts/tfm/goeb.tfm
share/texmf/fonts/tfm/goec.tfm
share/texmf/fonts/tfm/goed.tfm
share/texmf/fonts/tfm/gooa.tfm
share/texmf/fonts/tfm/goob.tfm
share/texmf/fonts/tfm/gooc.tfm
share/texmf/fonts/tfm/good.tfm
share/texmf/fonts/tfm/gooegb.tfm
share/texmf/fonts/tfm/gooemt.tfm
share/texmf/fonts/tfm/gowl.tfm
share/texmf/metafont/bodd.mf
share/texmf/metafont/gobas.mf
share/texmf/metafont/gobl.mf
share/texmf/metafont/goea.mf
share/texmf/metafont/goeb.mf
share/texmf/metafont/goec.mf
share/texmf/metafont/goed.mf
share/texmf/metafont/gooa.mf
share/texmf/metafont/goob.mf
share/texmf/metafont/gooc.mf
share/texmf/metafont/good.mf
share/texmf/metafont/gooegb.mf
share/texmf/metafont/gooemt.mf
share/texmf/metafont/gowl.mf
share/texmf/metafont/goxa.mf
share/texmf/metafont/goxb.mf
share/texmf/metafont/goxl.mf
share/texmf/metafont/itallg.mf
share/texmf/metafont/paramsa.mf
share/texmf/metafont/paramsb.mf
share/texmf/metafont/paramsbl.mf
share/texmf/metafont/paramsc.mf
share/texmf/metafont/romandg.mf
share/texmf/metafont/wodd.mf
share/texmf/tex/gooemacs.tex
share/texmf/tex/gotcmacs.tex