aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1998-12-13 11:36:35 +0800
committerkuriyama <kuriyama@FreeBSD.org>1998-12-13 11:36:35 +0800
commit68a7ef9753261a0cf0b79d0aceeb067debe5ff60 (patch)
tree1cae3cdbb586b5042caae34b6069136b252f5a5e /print
parent919f981a725087744875f0851781f7d01b4a6410 (diff)
downloadfreebsd-ports-gnome-68a7ef9753261a0cf0b79d0aceeb067debe5ff60.tar.gz
freebsd-ports-gnome-68a7ef9753261a0cf0b79d0aceeb067debe5ff60.tar.zst
freebsd-ports-gnome-68a7ef9753261a0cf0b79d0aceeb067debe5ff60.zip
Converting texts in figure by tgif to LaTeX commands
PR: ports/8771 (part of) Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
Diffstat (limited to 'print')
-rw-r--r--print/tgif2tex/Makefile43
-rw-r--r--print/tgif2tex/distinfo1
-rw-r--r--print/tgif2tex/files/00readme8
-rw-r--r--print/tgif2tex/pkg-comment1
-rw-r--r--print/tgif2tex/pkg-descr14
-rw-r--r--print/tgif2tex/pkg-plist5
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