blob: 3d5ebcb0b24fdca3411fc96dd27319d625cc88c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: xmltex
# Date created: 9 May 2002
# Whom: Nik Clayton <nik@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xmltex
PORTVERSION= 0.8
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
http://www.tei-c.org.uk/Software/passivetex/:xmltex
MASTER_SITE_SUBDIR= macros/xmltex/base
DISTFILES= englishutf16.xml englishutf8.xml iso-8859-1.xmt \
iso-8859-2.xmt koi8-r.xmt langtest.tex langtest.xml \
langtest.xmt manual.html manual.tex manual.xml \
manual.xsl mathml2.xmt pdfxmltex.ini \
portugeselatin1.xml readme.txt russiankoi8.xml \
russianutf8.xml sec.xmt tei.xmt testascii.cfg \
testascii.tex testascii.xml testsec.tex testsec.xml \
utf-16.xmt windows-1250.xmt xmltex.cfg xmltex.ini \
xmltex.tex:xmltex
DIST_SUBDIR= xmltex
EXTRACT_ONLY=
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-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/* ${WRKSRC}
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>
|