- 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)
30 lines
769 B
Makefile
30 lines
769 B
Makefile
PORTNAME= gladtex
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 4
|
|
CATEGORIES= textproc math www
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Program to replace LaTeX formulas in HTML files with images
|
|
WWW= http://gladtex.sourceforge.net/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libgif.so:graphics/giflib \
|
|
libpng.so:graphics/png
|
|
|
|
USES= perl5 tex
|
|
USE_TEX= latex dvipsk
|
|
|
|
BINPATH= ${PREFIX}/bin
|
|
INCPATH= "-I${LOCALBASE}/include"
|
|
LIBPATH= "-L${LOCALBASE}/lib"
|
|
|
|
MAKE_ENV+= BINPATH=${BINPATH} INCPATH="${INCPATH}" LIBPATH="${LIBPATH}"
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${BINPATH}; \
|
|
${INSTALL_PROGRAM} ${WRKSRC}/eqn2img ${STAGEDIR}${BINPATH}
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|