2002-05-23 17:15:46 +02:00
|
|
|
# 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
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Produces a set of HTML/JPEG slides from a TeX or LaTeX source
|
2002-05-23 17:15:46 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
|
|
|
|
dvips:${PORTSDIR}/print/teTeX \
|
|
|
|
convert:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
|
2002-06-23 22:56:43 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-05-23 17:15:46 +02:00
|
|
|
USE_PYTHON= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
MAN1= latex2slides.1
|
|
|
|
|
|
|
|
post-patch:
|
2002-06-23 22:56:43 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,/usr,${PREFIX},g ; \
|
2002-05-23 17:15:46 +02:00
|
|
|
s,share/man,man,g" ${WRKSRC}/install
|
2002-06-23 22:56:43 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/latex2slides
|
2002-05-23 17:15:46 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@(cd ${WRKSRC} ; ${PYTHON_CMD} ./install)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|