freebsd-ports/textproc/eqe/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

48 lines
1.1 KiB
Makefile

PORTNAME= eqe
PORTVERSION= 1.3.0
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= http://rlehy.free.fr/
MAINTAINER= ports@FreeBSD.org
COMMENT= LaTeX equation editor
WWW= http://rlehy.free.fr/
LICENSE= GPLv2 # only
LICENSE_FILE= ${WRKSRC}/GPL.txt
BUILD_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
p5-File-Slurp>=0:devel/p5-File-Slurp \
p5-Template-Toolkit>=0:www/p5-Template-Toolkit
USES= magick:6,build perl5 shebangfix tar:bzip2 tex
USE_TEX= tex
NO_ARCH= yes
SHEBANG_FILES= src/eqe src/eqedit
OPTIONS_DEFINE= DOCS
MAKE_ARGS= PREFIX=${PREFIX}
PORTDOCS= TODO changelog README FAQ copyright
post-patch:
@${REINPLACE_CMD} -e 's,^\(install:\) install-doc,\1,' \
${WRKSRC}/Makefile
post-install:
@pod2man ${WRKSRC}/doc/eqe.pod ${WRKSRC}/doc/eqe.1
@pod2man ${WRKSRC}/doc/eqedit.pod ${WRKSRC}/doc/eqedit.1
${INSTALL_MAN} ${WRKSRC}/doc/eqe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/eqedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>