diff options
author | hubertf <hubertf> | 2005-02-10 23:49:25 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2005-02-10 23:49:25 +0000 |
commit | 8e58eee6428bf57784eefe7929db9d50e018b7e2 (patch) | |
tree | a73ef7370358bd48e84f81d1c03f254d25dc3cb4 | |
parent | 7fbd4d40c46edd1ed7712d001f5bf83c763a4985 (diff) | |
download | pkgsrc-8e58eee6428bf57784eefe7929db9d50e018b7e2.tar.gz |
Make this work with teTeX3 (in addition to teTeX2):
teTeX3 doesn't come with an "initex" command, one has to use "tex -ini".
-rw-r--r-- | print/tex-musixtex/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/print/tex-musixtex/Makefile b/print/tex-musixtex/Makefile index 4e0480ef8d3..d1346f5a5f2 100644 --- a/print/tex-musixtex/Makefile +++ b/print/tex-musixtex/Makefile @@ -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 @@ MAINTAINER= dgriffi@cs.csubak.edu 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 @@ NO_CONFIGURE= yes 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 |