summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2006-05-05 06:32:30 +0000
committeraaron <aaron@FreeBSD.org>2006-05-05 06:32:30 +0000
commit6fe8c825ed93abc2cb2afd760082c4095ae32989 (patch)
tree16143ff1bf89a85d9d363db12a29234500150a83 /textproc
parentd9d23c1801c452781c773c87524660d31383bb58 (diff)
downloadFreeBSD-ports-6fe8c825ed93abc2cb2afd760082c4095ae32989.zip
FreeBSD-ports-6fe8c825ed93abc2cb2afd760082c4095ae32989.tar.gz
Add textogif 1.1, a Perl script to convert LaTeX formulas into GIFs.
PR: ports/92800 Submitted by: Nicola Vitale <nivit@email.it> Approved by: tobez
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/textogif/Makefile29
-rw-r--r--textproc/textogif/distinfo3
-rw-r--r--textproc/textogif/pkg-descr8
-rw-r--r--textproc/textogif/pkg-plist2
5 files changed, 43 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index beddd33..66b36da 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -781,6 +781,7 @@
SUBDIR += tex2im
SUBDIR += texi2db
SUBDIR += texi2html
+ SUBDIR += textogif
SUBDIR += tinyxml
SUBDIR += tkdiff
SUBDIR += tkxmlive
diff --git a/textproc/textogif/Makefile b/textproc/textogif/Makefile
new file mode 100644
index 0000000..bf86227
--- /dev/null
+++ b/textproc/textogif/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: textogif
+# Date created: 2006-02-04
+# Whom: Nicola Vitale <nivit@email.it>
+#
+# $FreeBSD$
+#
+
+PORTNAME= textogif
+PORTVERSION= 1.1
+CATEGORIES= textproc math www
+MASTER_SITES= http://www.fourmilab.ch/webtools/textogif/download/ \
+ http://nivi.interfree.it/distfiles/${PORTNAME}/
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= nivit@email.it
+COMMENT= A Perl script to convert LaTeX formulas into GIFs
+
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
+ dvips:${PORTSDIR}/print/dvipsk-tetex \
+ ppmtogif:${PORTSDIR}/graphics/netpbm
+
+NO_BUILD= yes
+USE_PERL5_RUN= yes
+
+do-install:
+ @cd ${WRKDIR};\
+ ${INSTALL_SCRIPT} ${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/textproc/textogif/distinfo b/textproc/textogif/distinfo
new file mode 100644
index 0000000..f08c63b
--- /dev/null
+++ b/textproc/textogif/distinfo
@@ -0,0 +1,3 @@
+MD5 (textogif_1.1.tar.gz) = c3ccc8de3a0e06a362bbeec3a4b9226b
+SHA256 (textogif_1.1.tar.gz) = e3cdf7579a9d1f1a0b45ffe3267b092928a50e6e5976a446eb49e39895325b4c
+SIZE (textogif_1.1.tar.gz) = 3659
diff --git a/textproc/textogif/pkg-descr b/textproc/textogif/pkg-descr
new file mode 100644
index 0000000..e548ee2
--- /dev/null
+++ b/textproc/textogif/pkg-descr
@@ -0,0 +1,8 @@
+Converts a LaTeX file containing equations(s) into a GIF file for
+embedding into an HTML document. The black and white image of the
+equation is created at high resolution and then resampled to the
+target resolution to antialias what would otherwise be jagged
+edges.
+
+Author: John Walker
+WWW: http://www.fourmilab/webtools/textogif/
diff --git a/textproc/textogif/pkg-plist b/textproc/textogif/pkg-plist
new file mode 100644
index 0000000..75767f2
--- /dev/null
+++ b/textproc/textogif/pkg-plist
@@ -0,0 +1,2 @@
+@comment $FreeBSD$
+bin/textogif
OpenPOWER on IntegriCloud