freebsd-ports/graphics/epix/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

32 lines
745 B
Makefile

PORTNAME= epix
DISTVERSION= 1.2.22
CATEGORIES= graphics
MASTER_SITES= http://mathcs.holycross.edu/~ahwang/${PORTNAME}/
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Creates math plots and line figures using easy-to-learn syntax
WWW= https://mathcs.holycross.edu/~ahwang/epix/ePiX.html
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash
RUN_DEPENDS= bash:shells/bash
USES= gmake makeinfo tar:bzip2 tex
USE_TEX= dvipsk:build latex texmf:build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-bash=${LOCALBASE}/bin/bash \
--with-runtime=${CXX}
INFO= epix
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
'/usepackage/s|\(pstricks\),\(xcolor\)|\1,tikz,\2|' \
${WRKSRC}/doc/manual.tex
.include <bsd.port.mk>