diff options
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/sgf2tex/Makefile | 20 | ||||
-rw-r--r-- | print/sgf2tex/distinfo | 1 | ||||
-rw-r--r-- | print/sgf2tex/files/patch-aa | 76 | ||||
-rw-r--r-- | print/sgf2tex/pkg-comment | 1 | ||||
-rw-r--r-- | print/sgf2tex/pkg-descr | 9 | ||||
-rw-r--r-- | print/sgf2tex/pkg-plist | 40 |
7 files changed, 148 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 7e00a7ba2212..71c042cb98f5 100644 --- a/print/Makefile +++ b/print/Makefile @@ -92,6 +92,7 @@ SUBDIR += rlpr SUBDIR += rtf2latex SUBDIR += ruby-clibpdf + SUBDIR += sgf2tex SUBDIR += t1utils SUBDIR += teTeX SUBDIR += tex diff --git a/print/sgf2tex/Makefile b/print/sgf2tex/Makefile new file mode 100644 index 000000000000..2fe310a78f27 --- /dev/null +++ b/print/sgf2tex/Makefile @@ -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> diff --git a/print/sgf2tex/distinfo b/print/sgf2tex/distinfo new file mode 100644 index 000000000000..78bb66e63562 --- /dev/null +++ b/print/sgf2tex/distinfo @@ -0,0 +1 @@ +MD5 (sgf2tex-3.2.tar.gz) = 14a627f98e279245103a5b827851e1c2 diff --git a/print/sgf2tex/files/patch-aa b/print/sgf2tex/files/patch-aa new file mode 100644 index 000000000000..ea97c2b32039 --- /dev/null +++ b/print/sgf2tex/files/patch-aa @@ -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 diff --git a/print/sgf2tex/pkg-comment b/print/sgf2tex/pkg-comment new file mode 100644 index 000000000000..3f3943f04230 --- /dev/null +++ b/print/sgf2tex/pkg-comment @@ -0,0 +1 @@ +Convert a Go game record in SGF format into TeX and provide fonts to make a dvi diff --git a/print/sgf2tex/pkg-descr b/print/sgf2tex/pkg-descr new file mode 100644 index 000000000000..d8f4b997c730 --- /dev/null +++ b/print/sgf2tex/pkg-descr @@ -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 diff --git a/print/sgf2tex/pkg-plist b/print/sgf2tex/pkg-plist new file mode 100644 index 000000000000..916536005850 --- /dev/null +++ b/print/sgf2tex/pkg-plist @@ -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 |