blob: ca751e7664128127c3bdb1f062ff3b3666093761 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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
PORTCOMMENT= Produces a set of HTML/JPEG slides from a TeX or LaTeX source
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
dvips:${PORTSDIR}/print/teTeX \
convert:${PORTSDIR}/graphics/ImageMagick
USE_REINPLACE= yes
USE_PYTHON= yes
NO_BUILD= yes
MANCOMPRESSED= yes
MAN1= latex2slides.1
post-patch:
@${REINPLACE_CMD} -e "s,/usr,${PREFIX},g ; \
s,share/man,man,g" ${WRKSRC}/install
@${REINPLACE_CMD} -e "s,/usr/share,${PREFIX}/share,g" ${WRKSRC}/latex2slides
do-install:
@(cd ${WRKSRC} ; ${PYTHON_CMD} ./install)
.include <bsd.port.mk>
|