freebsd-ports/graphics/l2p/Makefile
Muhammad Moinur Rahman 721e5776c9 Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
  and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
  infrastructure and also in the ports which have been removed from the
  ports as those are redundant.

In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.

Reviewed by:	portmgr
Approved by:	portmgr (blanket)
2022-12-19 08:44:58 -06:00

31 lines
741 B
Makefile

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
WWW= http://www.redsymbol.net/software/l2p/
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= magick:6,run perl5 shebangfix tex zip
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>