summaryrefslogtreecommitdiffstats
path: root/print/latex2slides/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-23 15:15:46 +0000
committerijliao <ijliao@FreeBSD.org>2002-05-23 15:15:46 +0000
commit887aa672a7d023ce085adb8dd28d03619b5b8b2b (patch)
tree192ad93195d038c6786b740abfa1bfa9da472088 /print/latex2slides/Makefile
parent939202c96f7f67c907eae8d146697f3cf41fdde1 (diff)
downloadFreeBSD-ports-887aa672a7d023ce085adb8dd28d03619b5b8b2b.zip
FreeBSD-ports-887aa672a7d023ce085adb8dd28d03619b5b8b2b.tar.gz
add latex2slides 0.8.1
Produces a set of HTML/JPEG slides from a TeX or LaTeX source
Diffstat (limited to 'print/latex2slides/Makefile')
-rw-r--r--print/latex2slides/Makefile36
1 files changed, 36 insertions, 0 deletions
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 <bsd.port.mk>
OpenPOWER on IntegriCloud