e4dd0303f7
Approved by: portmgr (blanket approval)
35 lines
794 B
Makefile
35 lines
794 B
Makefile
# $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:${PORTSDIR}/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>
|