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
commit9b96f5e9e3bfde79ebf04c8de44ecec0e6b88a47 (patch)
treee96bd63f55db2f598cb42929203ff9619c87ab8e /print/tex-musixtex
parente50ee7a7e065a2f86ad5f84743db5f54851b7367 (diff)
downloadpkgsrc-9b96f5e9e3bfde79ebf04c8de44ecec0e6b88a47.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