diff options
Diffstat (limited to 'print/sgf2tex')
-rw-r--r-- | print/sgf2tex/Makefile | 8 | ||||
-rw-r--r-- | print/sgf2tex/files/patch-Makefile (renamed from print/sgf2tex/files/patch-aa) | 23 | ||||
-rw-r--r-- | print/sgf2tex/pkg-plist | 2 |
3 files changed, 19 insertions, 14 deletions
diff --git a/print/sgf2tex/Makefile b/print/sgf2tex/Makefile index d1d37eb2c491..e1b027211452 100644 --- a/print/sgf2tex/Makefile +++ b/print/sgf2tex/Makefile @@ -10,14 +10,16 @@ MASTER_SITES= http://sporadic.stanford.edu/bump/ MAINTAINER= spcoltri@omcl.org COMMENT= Convert a Go game record in SGF format into TeX and provide fonts to make a dvi +USES= shebangfix +SHEBANG_FILES= sgf2tex USE_TEX= tex PLIST_SUB= MKTEXLSR=${MKTEXLSR} MAKE_ENV= TEX_BIN=${TEX_BIN} -MAN1= sgf2tex.1 sgfsplit.1 - TEX_BIN= ${LOCALBASE}/bin/etex MKTEXLSR= ${LOCALBASE}/bin/mktexlsr -NO_STAGE= yes +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sgfsplit + .include <bsd.port.mk> diff --git a/print/sgf2tex/files/patch-aa b/print/sgf2tex/files/patch-Makefile index 2a9507989ae9..cbc3624b823f 100644 --- a/print/sgf2tex/files/patch-aa +++ b/print/sgf2tex/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig Mon Jun 18 13:04:35 2001 -+++ Makefile Mon Mar 28 15:04:58 2005 -@@ -14,12 +14,18 @@ +--- Makefile.orig 2001-06-18 12:04:35.000000000 +0800 ++++ Makefile 2014-07-07 15:16:57.375590865 +0800 +@@ -14,12 +14,18 @@ VERSION=3.3 # TEXHASH is MakeTeXls-R for WEB2C Unix distribution, texhash for TETEX, blank # for NTEX. @@ -24,7 +24,7 @@ # PKFONTS may be left undefined for the initial installation. If you are # reinstalling fonts for which you have made modifications to the metafont -@@ -45,21 +51,23 @@ +@@ -45,21 +51,23 @@ TEXHASH=texhash .SUFFIXES : .mf .tfm .300pk .360pk .432pk .600pk .720pk .864pk .300gf .360gf .432gf .600gf .720gf .864gf @@ -38,20 +38,21 @@ + ${TEX_BIN} manual install: sgfsplit - rm -f $(PKFONTS) +- 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) ++ #rm -f $(PKFONTS) ++ mkdir -p $(DESTDIR)$(MFDIR) && install -c -m 0644 *.mf $(DESTDIR)$(MFDIR) ++ mkdir -p $(DESTDIR)$(TFMDIR) && install -c -m 0644 *.tfm $(DESTDIR)$(TFMDIR) ++ install -c -m 0755 sgf2tex sgfsplit $(DESTDIR)$(BINDIR) ++ install -c -m 0644 sgf2tex.1 sgfsplit.1 $(DESTDIR)$(MANDIR) ++ mkdir -p $(DESTDIR)$(TEXINPUTS) && install -c -m 0644 gooemacs.tex gotcmacs.tex $(DESTDIR)$(TEXINPUTS) $(TEXHASH) - tex manual -+ install -c -m 0644 manual.dvi ${TEXINPUTS}/manual.dvi ++ install -c -m 0644 manual.dvi $(DESTDIR)${TEXINPUTS}/manual.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-plist b/print/sgf2tex/pkg-plist index 7469e3c4e5e1..88a631a197bf 100644 --- a/print/sgf2tex/pkg-plist +++ b/print/sgf2tex/pkg-plist @@ -1,5 +1,7 @@ bin/sgf2tex bin/sgfsplit +man/man1/sgf2tex.1.gz +man/man1/sgfsplit.1.gz share/texmf/fonts/tfm/public/GOOE/gobl.tfm share/texmf/fonts/tfm/public/GOOE/goea.tfm share/texmf/fonts/tfm/public/GOOE/goeb.tfm |