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

36 lines
923 B
Makefile

PORTNAME= gastex
PORTVERSION= 3.0
CATEGORIES= textproc
MASTER_SITES= http://www.lsv.ens-cachan.fr/~gastin/gastex/
DISTFILES= gastex.sty gastex.pro
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
EXTRACT_ONLY= # none
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphs and Automata Simplified in TeX
WWW= https://www.lsv.ens-cachan.fr/~gastin/gastex/
USES= tex
USE_TEX= latex:run
NO_ARCH= yes
NO_BUILD= yes
EXAMPLES_DISTFILES= ex-gastex.tex
GASTEXDIR= ${PREFIX}/${TEXMFDIR}/tex/latex/gastex
GASDVIDIR= ${PREFIX}/${TEXMFDIR}/dvips/gastex
OPTIONS_DEFINE= EXAMPLES
do-install:
@${MKDIR} ${STAGEDIR}${GASTEXDIR}
@${MKDIR} ${STAGEDIR}${GASDVIDIR}
${INSTALL_DATA} ${_DISTDIR}/gastex.sty ${STAGEDIR}${GASTEXDIR}
${INSTALL_DATA} ${_DISTDIR}/gastex.pro ${STAGEDIR}${GASDVIDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${_DISTDIR}/ex-gastex.tex ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>