# New ports collection makefile for: xmltex # Date created: 9 May 2002 # Whom: Nik Clayton # # $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 COMMENT= A non-validating XML parser, written in TeX BUILD_DEPENDS= hugelatex:${PORTSDIR}/print/hugelatex LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX BROKEN= "Does not fetch; will be removed after Feb 2" 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