pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/tex-musixtex Make this work with teTeX3 (in addi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6f4851c88b86
branches: trunk
changeset: 488877:6f4851c88b86
user: hubertf <hubertf%pkgsrc.org@localhost>
date: Thu Feb 10 23:49:25 2005 +0000
description:
Make this work with teTeX3 (in addition to teTeX2):
teTeX3 doesn't come with an "initex" command, one has to use "tex -ini".
diffstat:
print/tex-musixtex/Makefile | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r 4639cf692140 -r 6f4851c88b86 print/tex-musixtex/Makefile
--- a/print/tex-musixtex/Makefile Thu Feb 10 22:18:49 2005 +0000
+++ b/print/tex-musixtex/Makefile Thu Feb 10 23:49:25 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/01/18 00:08:17 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 2005/02/10 23:49:25 hubertf Exp $
#
DISTNAME= musixtex-112
@@ -11,7 +11,7 @@
HOMEPAGE= http://icking-music-archive.sunsite.dk/
COMMENT= TeX macros to typeset music
-DEPENDS+= teTeX-2.0*:../../print/teTeX
+DEPENDS+= teTeX>=2:../../print/teTeX
WRKSRC= ${WRKDIR}/musixtex-T112
NO_CONFIGURE= yes
@@ -19,12 +19,19 @@
TEXMF= ${LOCALBASE}/share/texmf
TEXMF_CNF= ${LOCALBASE}/share/texmf/web2c/texmf.cnf
+.include "../../mk/bsd.prefs.mk"
+.if exists(${LOCALBASE}/bin/initex)
+INITEX= initex # teTeX2
+.else
+INITEX= tex -ini # teTeX3
+.endif
+
do-build:
@${ECHO} "======> Building musixtex.fmt"
${CP} -f ${WRKSRC}/system/dos/musixtex.ins \
${WRKSRC}/tex
cd ${WRKSRC}/tex ; \
- (TEXFONTS=${WRKSRC}/tfm initex '&tex musixtex.ins \dump')
+ (TEXFONTS=${WRKSRC}/tfm ${INITEX} '&tex musixtex.ins \dump')
@${ECHO} "======> Building musixflx executable"
cd ${WRKSRC}/system/c-source; ${CC} -o musixflx musixflx.c
Home |
Main Index |
Thread Index |
Old Index