2013-03-07 20:04:30 +00:00
|
|
|
# Created by: Nicola Vitale <nivit@email.it>
|
2006-05-05 06:34:05 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gladtex
|
2013-03-07 20:04:30 +00:00
|
|
|
PORTVERSION= 1.3
|
2015-12-03 20:01:03 +00:00
|
|
|
PORTREVISION= 4
|
2006-05-05 06:34:05 +00:00
|
|
|
CATEGORIES= textproc math www
|
2015-05-14 10:15:04 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}
|
2006-05-05 06:34:05 +00:00
|
|
|
|
2006-12-10 01:21:51 +00:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2014-08-03 14:15:08 +00:00
|
|
|
COMMENT= Program to replace LaTeX formulas in HTML files with images
|
2006-05-05 06:34:05 +00:00
|
|
|
|
2012-05-01 20:29:46 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 14:25:16 +00:00
|
|
|
LIB_DEPENDS= libgif.so:graphics/giflib \
|
|
|
|
libpng.so:graphics/png
|
2006-05-05 06:34:05 +00:00
|
|
|
|
2013-05-11 17:58:55 +00:00
|
|
|
USE_TEX= latex dvipsk
|
2006-05-05 06:34:05 +00:00
|
|
|
BINPATH= ${PREFIX}/bin
|
2013-03-07 20:04:30 +00:00
|
|
|
INCPATH= "-I${LOCALBASE}/include"
|
|
|
|
LIBPATH= "-L${LOCALBASE}/lib"
|
2006-05-05 06:34:05 +00:00
|
|
|
|
2013-03-07 20:04:30 +00:00
|
|
|
MAKE_ENV+= BINPATH=${BINPATH} INCPATH="${INCPATH}" LIBPATH="${LIBPATH}"
|
2006-05-05 06:34:05 +00:00
|
|
|
|
2013-09-11 05:29:55 +00:00
|
|
|
USES= perl5
|
2013-03-07 20:04:30 +00:00
|
|
|
|
2012-05-01 20:29:46 +00:00
|
|
|
do-install:
|
2014-01-27 21:17:25 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${BINPATH}; \
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/eqn2img ${STAGEDIR}${BINPATH}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
2006-05-05 06:34:05 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|