aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-06-19 00:17:12 +0800
committerHiroki Sato <hrs@FreeBSD.org>2004-06-19 00:17:12 +0800
commit9bb4549047e94b98a3c4ba0c4e39e6302f600e99 (patch)
treec6c4af2fa111457d60e8bfe5ee2512930c9c0cce
parent9adfbfbe5db214b9f97627a13daeec784252e287 (diff)
downloadfreebsd-ports-9bb4549047e94b98a3c4ba0c4e39e6302f600e99.tar.gz
freebsd-ports-9bb4549047e94b98a3c4ba0c4e39e6302f600e99.tar.zst
freebsd-ports-9bb4549047e94b98a3c4ba0c4e39e6302f600e99.zip
- Install a xmltex -> latex symlink.
- Fix dependencies (print/teTeX-*). Approved by: linimon (mentor)
Notes
Notes: svn path=/head/; revision=111743
-rw-r--r--print/xmltex/Makefile13
-rw-r--r--print/xmltex/pkg-plist4
2 files changed, 11 insertions, 6 deletions
diff --git a/print/xmltex/Makefile b/print/xmltex/Makefile
index 35e7da554096..d2d12481ba1f 100644
--- a/print/xmltex/Makefile
+++ b/print/xmltex/Makefile
@@ -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>
diff --git a/print/xmltex/pkg-plist b/print/xmltex/pkg-plist
index cffd3e0141a5..bdb44117d280 100644
--- a/print/xmltex/pkg-plist
+++ b/print/xmltex/pkg-plist
@@ -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%%