From 887aa672a7d023ce085adb8dd28d03619b5b8b2b Mon Sep 17 00:00:00 2001 From: ijliao Date: Thu, 23 May 2002 15:15:46 +0000 Subject: add latex2slides 0.8.1 Produces a set of HTML/JPEG slides from a TeX or LaTeX source --- print/latex2slides/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 print/latex2slides/Makefile (limited to 'print/latex2slides/Makefile') diff --git a/print/latex2slides/Makefile b/print/latex2slides/Makefile new file mode 100644 index 0000000..8afc427 --- /dev/null +++ b/print/latex2slides/Makefile @@ -0,0 +1,36 @@ +# ex:ts=8 +# Ports collection makefile for: latex2slides +# Date created: May 23, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= latex2slides +PORTVERSION= 0.8.1 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \ + dvips:${PORTSDIR}/print/teTeX \ + convert:${PORTSDIR}/graphics/ImageMagick + +USE_PYTHON= yes +NO_BUILD= yes + +MANCOMPRESSED= yes +MAN1= latex2slides.1 + +post-patch: + @${PERL} -pi -e "s,/usr,${PREFIX},g ; \ + s,share/man,man,g" ${WRKSRC}/install + @${PERL} -pi -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/latex2slides + +do-install: + @(cd ${WRKSRC} ; ${PYTHON_CMD} ./install) + +.include -- cgit v1.1