summaryrefslogtreecommitdiff
path: root/graphics/l2p/Makefile
blob: d8a1327c2d0d69c93655bc7bcb22ce97e7a34454 (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
# $FreeBSD$

PORTNAME=	l2p
PORTVERSION=	1.1.1
PORTREVISION=	3
CATEGORIES=	graphics print perl5
MASTER_SITES=	http://static.redsymbol.net/software/l2p/dist/ \
		http://nivit.altervista.org/FreeBSD/ports/distfiles/

MAINTAINER=	nivit@FreeBSD.org
COMMENT=	Create PNG images from LaTeX math expressions

RUN_DEPENDS=	convert:graphics/ImageMagick

NO_BUILD=	yes

OPTIONS_DEFINE=	DOCS

PLIST_FILES=	bin/l2p
PORTDOCS=	l2p.txt l2p.html

SHEBANG_FILES=	${WRKSRC}/${PORTNAME}

USE_PERL5=	run
USE_TEX=	latex dvipsk
USES=		perl5 shebangfix zip

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>