summaryrefslogtreecommitdiff
path: root/graphics/l2p/Makefile
blob: a62c3634abe6deabf541e33a5a56d59ad74208e0 (plain)
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

PORTNAME=	l2p
PORTVERSION=	1.1.1
PORTREVISION=	4
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/ImageMagick6

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

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

.include <bsd.port.mk>