aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/textogif
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2006-05-05 14:32:30 +0800
committeraaron <aaron@FreeBSD.org>2006-05-05 14:32:30 +0800
commit6fe8c825ed93abc2cb2afd760082c4095ae32989 (patch)
tree16143ff1bf89a85d9d363db12a29234500150a83 /textproc/textogif
parentd9d23c1801c452781c773c87524660d31383bb58 (diff)
downloadfreebsd-ports-gnome-6fe8c825ed93abc2cb2afd760082c4095ae32989.tar.gz
freebsd-ports-gnome-6fe8c825ed93abc2cb2afd760082c4095ae32989.tar.zst
freebsd-ports-gnome-6fe8c825ed93abc2cb2afd760082c4095ae32989.zip
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/textogif')
-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
4 files changed, 42 insertions, 0 deletions
diff --git a/textproc/textogif/Makefile b/textproc/textogif/Makefile
new file mode 100644
index 000000000000..bf8622713b33
--- /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 000000000000..f08c63bfc8f5
--- /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 000000000000..e548ee2fa4e5
--- /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 000000000000..75767f255422
--- /dev/null
+++ b/textproc/textogif/pkg-plist
@@ -0,0 +1,2 @@
+@comment $FreeBSD$
+bin/textogif