- Install a xmltex -> latex symlink.

- Fix dependencies (print/teTeX-*).

Approved by:	linimon (mentor)
This commit is contained in:
Hiroki Sato 2004-06-18 16:17:12 +00:00
parent 9adfbfbe5d
commit 9bb4549047
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111743
2 changed files with 11 additions and 6 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= xmltex
PORTVERSION= 1.9
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \
${MASTER_SITE_TEX_CTAN}
@ -18,11 +18,13 @@ DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A non-validating XML parser, written in TeX
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
BUILD_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
${LOCALBASE}/${TEXMF}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
latex:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
${LOCALBASE}/${TEXMF}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf \
latex:${PORTSDIR}/print/teTeX-base
.include <bsd.port.pre.mk>
@ -68,6 +70,7 @@ do-install:
.endif
post-install:
${LN} -s -f ${LOCALBASE}/bin/latex ${PREFIX}/bin/xmltex
${MKTEXLSR}
.include <bsd.port.post.mk>

View File

@ -1,4 +1,4 @@
@comment $FreeBSD: /tmp/pcvs/ports/print/xmltex/pkg-plist,v 1.2 2004-02-02 16:20:29 nork Exp $
@comment $FreeBSD: /tmp/pcvs/ports/print/xmltex/pkg-plist,v 1.3 2004-06-18 16:17:12 hrs Exp $
%%PORTDOCS%%%%DOCSDIR%%/manual.html
%%PORTDOCS%%%%DOCSDIR%%/manual.tex
%%PORTDOCS%%%%DOCSDIR%%/manual.xml
@ -32,6 +32,8 @@
%%CLASSDIR%%/portugeselatin1.xml
%%CLASSDIR%%/englishutf16.xml
%%CLASSDIR%%/englishutf8.xml
@exec ln -s -f %D/bin/latex %D/bin/xmltex
@unexec rm -f %D/bin/xmltex > /dev/null 2>&1 || true
@dirrm %%CLASSDIR%%
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%