1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/print/latex2slides/Makefile
Greg Lewis 33ac22a6c2 . Update to 1.0.
PR:		73468
Submitted by:	Ports Fury
2004-11-05 13:23:08 +00:00

42 lines
996 B
Makefile

# ex:ts=8
# Ports collection makefile for: latex2slides
# Date created: May 23, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= latex2slides
PORTVERSION= 1.0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Produces a set of HTML/JPEG slides from a TeX or LaTeX source
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick \
dvips:${PORTSDIR}/print/teTeX \
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
USE_REINPLACE= yes
USE_PYTHON= yes
NO_BUILD= yes
PLIST_SUB= PORTNAME="${PORTNAME}" PORTVERSION="${PORTVERSION}"
MANCOMPRESSED= yes
MAN1= latex2slides.1
post-patch:
.for file in install latex2slides
@${REINPLACE_CMD} -e "s,'/usr/bin/,'${PREFIX}/bin/,g ; \
s,'/usr/share/latex2slides/,'${DATADIR}/,g ; \
s,'/usr/share/man/,'${MANPREFIX}/man/,g" ${WRKSRC}/${file}
.endfor
do-install:
@(cd ${WRKSRC} ; ${PYTHON_CMD} ./install)
.include <bsd.port.mk>