diff options
author | aaron <aaron@FreeBSD.org> | 2006-05-05 14:32:30 +0800 |
---|---|---|
committer | aaron <aaron@FreeBSD.org> | 2006-05-05 14:32:30 +0800 |
commit | 6fe8c825ed93abc2cb2afd760082c4095ae32989 (patch) | |
tree | 16143ff1bf89a85d9d363db12a29234500150a83 | |
parent | d9d23c1801c452781c773c87524660d31383bb58 (diff) | |
download | freebsd-ports-graphics-6fe8c825ed93abc2cb2afd760082c4095ae32989.tar.gz freebsd-ports-graphics-6fe8c825ed93abc2cb2afd760082c4095ae32989.tar.zst freebsd-ports-graphics-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
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/textogif/Makefile | 29 | ||||
-rw-r--r-- | textproc/textogif/distinfo | 3 | ||||
-rw-r--r-- | textproc/textogif/pkg-descr | 8 | ||||
-rw-r--r-- | textproc/textogif/pkg-plist | 2 |
5 files changed, 43 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index beddd33cc90..66b36dadcfa 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 00000000000..bf8622713b3 --- /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 00000000000..f08c63bfc8f --- /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 00000000000..e548ee2fa4e --- /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 00000000000..75767f25542 --- /dev/null +++ b/textproc/textogif/pkg-plist @@ -0,0 +1,2 @@ +@comment $FreeBSD$ +bin/textogif |