summaryrefslogtreecommitdiff
path: root/print/tex-musixtex
diff options
context:
space:
mode:
authorhubertf <hubertf>2005-02-11 00:37:46 +0000
committerhubertf <hubertf>2005-02-11 00:37:46 +0000
commit5c44a1451972bc34cd4ac09d7a3966d31836d835 (patch)
treee96bd63f55db2f598cb42929203ff9619c87ab8e /print/tex-musixtex
parentc65c8e83328063144c44f2a7c47436875f1a296c (diff)
downloadpkgsrc-5c44a1451972bc34cd4ac09d7a3966d31836d835.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/tex-musixtex')
-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