diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-12-13 03:36:35 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-12-13 03:36:35 +0000 |
commit | 69c6a90fd31654c4fbebec38ad4ce73066e441c2 (patch) | |
tree | a104d770b91c1f969fd4911961d93305b179cbc1 /print/tgif2tex | |
parent | Activate ja-tgif2tex. (diff) |
Converting texts in figure by tgif to LaTeX commands
PR: ports/8771 (part of)
Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
Notes
Notes:
svn path=/head/; revision=15318
Diffstat (limited to 'print/tgif2tex')
-rw-r--r-- | print/tgif2tex/Makefile | 43 | ||||
-rw-r--r-- | print/tgif2tex/distinfo | 1 | ||||
-rw-r--r-- | print/tgif2tex/files/00readme | 8 | ||||
-rw-r--r-- | print/tgif2tex/pkg-comment | 1 | ||||
-rw-r--r-- | print/tgif2tex/pkg-descr | 14 | ||||
-rw-r--r-- | print/tgif2tex/pkg-plist | 5 |
6 files changed, 72 insertions, 0 deletions
diff --git a/print/tgif2tex/Makefile b/print/tgif2tex/Makefile new file mode 100644 index 000000000000..a87a24e8318e --- /dev/null +++ b/print/tgif2tex/Makefile @@ -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> diff --git a/print/tgif2tex/distinfo b/print/tgif2tex/distinfo new file mode 100644 index 000000000000..bb287aa97776 --- /dev/null +++ b/print/tgif2tex/distinfo @@ -0,0 +1 @@ +MD5 (tgif2tex.tar.gz) = 37401fbf131816af0c426cfa86190cda diff --git a/print/tgif2tex/files/00readme b/print/tgif2tex/files/00readme new file mode 100644 index 000000000000..005039229ce9 --- /dev/null +++ b/print/tgif2tex/files/00readme @@ -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 diff --git a/print/tgif2tex/pkg-comment b/print/tgif2tex/pkg-comment new file mode 100644 index 000000000000..824c0cffe473 --- /dev/null +++ b/print/tgif2tex/pkg-comment @@ -0,0 +1 @@ +Converting texts in figure by tgif to LaTeX commands diff --git a/print/tgif2tex/pkg-descr b/print/tgif2tex/pkg-descr new file mode 100644 index 000000000000..dc29a149514e --- /dev/null +++ b/print/tgif2tex/pkg-descr @@ -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 diff --git a/print/tgif2tex/pkg-plist b/print/tgif2tex/pkg-plist new file mode 100644 index 000000000000..f68e8f182014 --- /dev/null +++ b/print/tgif2tex/pkg-plist @@ -0,0 +1,5 @@ +bin/tgif2tex +share/doc/tgif2tex/00readme +share/doc/tgif2tex/example.obj +share/doc/tgif2tex/example.tex +@dirrm share/doc/tgif2tex |