freebsd-ports/math/adept/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

34 lines
886 B
Makefile

PORTNAME= adept
DISTVERSION= 2.1.1
CATEGORIES= math
MASTER_SITES= http://www.met.reading.ac.uk/clouds/adept/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Combined array and automatic differentiation library in C++
WWW= https://www.met.reading.ac.uk/clouds/adept/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf gmake fortran blaslapack:openblas libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= PDFTEXDOCS
OPTIONS_SUB= yes
PDFTEXDOCS_DESC= Build and install PDF documentation from LaTeX sources
PDFTEXDOCS_USES= tex
PDFTEXDOCS_USE= TEX=pdftex:build,dvipsk:build
post-build-PDFTEXDOCS-on:
@cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}
post-install-PDFTEXDOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>