mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
40 lines
928 B
Makefile
40 lines
928 B
Makefile
# New ports collection makefile for: xmltex
|
|
# Date created: 9 May 2002
|
|
# Whom: Nik Clayton <nik@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmltex
|
|
PORTVERSION= 1.9
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
|
MASTER_SITE_SUBDIR= macros/xmltex/
|
|
DISTFILES= base.zip
|
|
|
|
MAINTAINER= nik@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= hugelatex:${PORTSDIR}/print/hugelatex
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
|
RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX
|
|
|
|
WRKSRC= ${WRKDIR}/base
|
|
USE_ZIP= yes
|
|
MAKE_ENV= TEXMFCNF=${FILESDIR}:${LOCALBASE}/share/texmf/web2c
|
|
|
|
post-patch: patch-message copy-makefile
|
|
|
|
copy-makefile:
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
do-install:
|
|
@cd ${WRKSRC}; TEXMFMAIN=$$(kpsewhich -expand-var '$$TEXMFMAIN'); \
|
|
${INSTALL_DATA} xmltex.fmt pdfxmltex.fmt $$TEXMFMAIN/web2c;
|
|
|
|
post-install: rebuild-tex-database
|
|
|
|
rebuild-tex-database:
|
|
${LOCALBASE}/bin/mktexlsr
|
|
|
|
.include <bsd.port.mk>
|