Converting texts in figure by tgif to LaTeX commands

PR:		ports/8771 (part of)
Submitted by:	Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
This commit is contained in:
Jun Kuriyama 1998-12-13 03:36:35 +00:00
parent 8495fcfb94
commit 69c6a90fd3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15318
6 changed files with 72 additions and 0 deletions

43
print/tgif2tex/Makefile Normal file
View File

@ -0,0 +1,43 @@
# New ports collection makefile for: tgif2tex
# Version required: 1.46
# Date created: 12 Mar 1998
# Whom: Satoshi TAOKA <taoka@infonets.hiroshima-u.ac.jp>
#
# $Id$
#
DISTNAME= tgif2tex
PKGNAME?= tgif2tex-1.46
CATEGORIES= print
MASTER_SITES= http://camphor.elcom.nitech.ac.jp/~nakano/tgif2tex/
MAINTAINER= taoka@infonets.hiroshima-u.ac.jp
USE_PERL5= yes
PORTSDOCDIR?= ${PREFIX}/share/doc/tgif2tex
DOCSRC+= example.obj \
example.tex
do-build:
@cd ${WRKSRC}; ${MV} tgif2tex tgif2tex.org; \
${SED} -e 's,/usr/local/X11R6/bin/tgif,${X11BASE}/bin/tgif,' \
-e 's;^#! */usr/local/bin/perl *;#!${PERL5};' \
tgif2tex.org > tgif2tex
pre-install:
@if [ ${PREFIX} != "/usr/local" ]; then \
${SED} s,/usr/local,${PREFIX}, ${WRKSRC}/tgif2tex \
> ${WRKSRC}/tgif2tex.org; \
${MV} ${WRKSRC}/tgif2tex.org ${WRKSRC}/tgif2tex; \
fi
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tgif2tex ${PREFIX}/bin/tgif2tex
.if !defined(NOPORTDOCS)
${MKDIR} ${PORTSDOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCSRC} ${PORTSDOCDIR};
${INSTALL_DATA} ${FILESDIR}/00readme ${PORTSDOCDIR}
.endif
.include <bsd.port.mk>

1
print/tgif2tex/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (tgif2tex.tar.gz) = 37401fbf131816af0c426cfa86190cda

View File

@ -0,0 +1,8 @@
Please execute the following commands for example.
(1) cd /usr/local/share/doc/tgif2tex
(2) tgif2tex example.obj
(3) latex example.tex
(4) xdvi example.tex
-- S. Taoka

View File

@ -0,0 +1 @@
Converting texts in figure by tgif to LaTeX commands

14
print/tgif2tex/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
Tgif2tex allows us to use LaTeX commands in figures drawn by Tgif. It
extracts strings and their positions from the figure and converts it
in picture environment of the LaTeX. It also converts other
components of the figure such as lines, circles, ovals, etc into EPS.
Please execute the following commands for example.
(1) cd /usr/local/share/doc/tgif2tex
(2) tgif2tex example.obj
(3) latex example.tex
(4) xdvi example.tex
- S. Taoka
taoka@infonets.hiroshima-u.ac.jp

5
print/tgif2tex/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
bin/tgif2tex
share/doc/tgif2tex/00readme
share/doc/tgif2tex/example.obj
share/doc/tgif2tex/example.tex
@dirrm share/doc/tgif2tex