summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2005-02-11 00:37:46 +0000
committerhubertf <hubertf@pkgsrc.org>2005-02-11 00:37:46 +0000
commit0c7f360b96ddb422afc9bd357b232bee0892235a (patch)
treee96bd63f55db2f598cb42929203ff9619c87ab8e /print
parent6cee94873d636d0a73d52adb3b3559ed174d6b66 (diff)
downloadpkgsrc-0c7f360b96ddb422afc9bd357b232bee0892235a.tar.gz
teTeX3 doesnt' have virtex either - link musictex to 'tex' instead
(as it was used to make the format file, too)
Diffstat (limited to 'print')
-rw-r--r--print/tex-musixtex/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/print/tex-musixtex/Makefile b/print/tex-musixtex/Makefile
index d1346f5a5f2..4c9625e679a 100644
--- a/print/tex-musixtex/Makefile
+++ b/print/tex-musixtex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/02/10 23:49:25 hubertf Exp $
+# $NetBSD: Makefile,v 1.10 2005/02/11 00:37:46 hubertf Exp $
#
DISTNAME= musixtex-112
@@ -62,7 +62,11 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/system/c-source/musixflx.1 \
${PREFIX}/man/man1
- cd ${PREFIX}/bin ; ${LN} -sf virtex musixtex
+.if exists(${LOCALBASE}/bin/virtex)
+ cd ${PREFIX}/bin ; ${LN} -sf virtex musixtex # teTeX2
+.else
+ cd ${PREFIX}/bin ; ${LN} -sf tex musixtex # teTeX3
+.endif
${LOCALBASE}/bin/texconfig rehash