mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
bd6fa393f8
Approved by: alexbl (mentor)
44 lines
976 B
Makefile
44 lines
976 B
Makefile
# New ports collection makefile for: gladtex
|
|
# Date created: 2006-02-04
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gladtex
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= textproc math www
|
|
MASTER_SITES= http://www.math.uio.no/~martingu/gladtex/dl/ \
|
|
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= A program to replace LaTeX formulas in HTML files with images
|
|
|
|
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
|
|
png.5:${PORTSDIR}/graphics/png
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
|
|
dvips:${PORTSDIR}/print/dvipsk-tetex
|
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
BINPATH= ${PREFIX}/bin
|
|
INCPATH= -I${LOCALBASE}/include
|
|
LIBPATH= -L${LOCALBASE}/lib
|
|
|
|
MAKE_ENV+= BINPATH=${BINPATH} INCPATH=${INCPATH} LIBPATH=${LIBPATH}
|
|
|
|
DOCSFILES= README
|
|
|
|
post-extract:
|
|
@@cd ${WRKSRC};
|
|
${RM} -f eqn2img
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@cd ${WRKSRC}; \
|
|
${MKDIR} ${DOCSDIR}; \
|
|
${INSTALL_DATA} ${DOCSFILES} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|