Update to 3.3.

PR:		28300
Submitted by:	maintainer
This commit is contained in:
Daniel Harris 2001-06-20 22:01:00 +00:00
parent d94f6d10ab
commit 110ea7c680
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44265
3 changed files with 57 additions and 78 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= sgf2tex
PORTVERSION= 3.2
PORTVERSION= 3.3
CATEGORIES= print
MASTER_SITES= ftp://match.stanford.edu/pub/

View File

@ -1 +1 @@
MD5 (sgf2tex-3.2.tar.gz) = 14a627f98e279245103a5b827851e1c2
MD5 (sgf2tex-3.3.tar.gz) = 20f42e4f2347569cc08c5aa70ecb659a

View File

@ -1,76 +1,55 @@
*** 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
--- Makefile.orig Sun Jun 17 21:04:35 2001
+++ Makefile Wed Jun 20 12:59:39 2001
@@ -14,12 +14,18 @@
# TEXHASH is MakeTeXls-R for WEB2C Unix distribution, texhash for TETEX, blank
# for NTEX.
-MFDIR=/usr/share/texmf/fonts/source/public/GOOE
-TFMDIR=/usr/share/texmf/fonts/tfm/public/GOOE
-TEXINPUTS=/usr/share/texmf/tex/GOOE
-MANDIR=/usr/man/man1/
-BINDIR=/usr/local/bin/
+MFDIR=${PREFIX}/share/texmf/fonts/source/public/GOOE
+TFMDIR=${PREFIX}/share/texmf/fonts/tfm/public/GOOE
+TEXINPUTS=${PREFIX}/share/texmf/tex/GOOE
+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,6 +51,8 @@
.SUFFIXES : .mf .tfm .300pk .360pk .432pk .600pk .720pk .864pk .300gf .360gf .432gf .600gf .720gf .864gf
+all: sgfsplit manual.dvi
+
sgfsplit: sgfsplit.c
cc -g -o sgfsplit sgfsplit.c
@@ -53,13 +61,13 @@
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)
+ mkdir -p $(MFDIR) && install -c -m 0644 *.mf $(MFDIR)
+ mkdir -p $(TFMDIR) && install -c -m 0644 *.tfm $(TFMDIR)
+ install -c -m 0755 sgf2tex sgfsplit $(BINDIR)
+ install -c -m 0644 sgf2tex.1 sgfsplit.1 $(MANDIR)
+ mkdir -p $(TEXINPUTS) && 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