summaryrefslogtreecommitdiff
path: root/print/tex-musixtex
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-04-07 03:08:49 +0000
committerminskim <minskim@pkgsrc.org>2006-04-07 03:08:49 +0000
commitf78ecbb71e765ce9acefd7492f8431f262cbc141 (patch)
tree912502d6556ca0f4da7970dcf7a6ae667aca61ff /print/tex-musixtex
parent7b1c7bfcdc03f802468420f78f407ba0e7feb02e (diff)
downloadpkgsrc-f78ecbb71e765ce9acefd7492f8431f262cbc141.tar.gz
- Use teTeX/module.mk to properly update the ls-R database.
- Use texmf-dirs to install into texmf-local. Bump PKGREVISION.
Diffstat (limited to 'print/tex-musixtex')
-rw-r--r--print/tex-musixtex/Makefile10
-rw-r--r--print/tex-musixtex/PLIST6
2 files changed, 7 insertions, 9 deletions
diff --git a/print/tex-musixtex/Makefile b/print/tex-musixtex/Makefile
index 2991ece1303..ac3258714bc 100644
--- a/print/tex-musixtex/Makefile
+++ b/print/tex-musixtex/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.15 2006/02/05 23:10:40 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2006/04/07 03:08:49 minskim Exp $
#
DISTNAME= musixtex-112
PKGNAME= tex-${DISTNAME}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/musixtex/taupin/}
DISTFILES= musixtex-T112.tar.gz
@@ -16,6 +16,7 @@ TEX_ACCEPTED= teTeX2 teTeX3
WRKSRC= ${WRKDIR}/musixtex-T112
NO_CONFIGURE= yes
+USE_DIRS+= texmf-1.0
TEXMF= ${PKG_TEXMFPREFIX}
TEXMF_CNF= ${PKG_TEXMFPREFIX}/web2c/texmf.cnf
@@ -29,6 +30,8 @@ INITEX= tex -ini # teTeX3
INSTALLATION_DIRS= bin man/man1
+.include "../../print/teTeX/module.mk"
+
do-build:
@${ECHO} "======> Building musixtex.fmt"
${CP} -f ${WRKSRC}/system/dos/musixtex.ins \
@@ -71,7 +74,7 @@ do-install:
cd ${PREFIX}/bin ; ${LN} -sf tex musixtex # teTeX3
.endif
- ${LOCALBASE}/bin/texconfig rehash
+ ${LOCALBASE}/bin/mktexlsr ${PKG_LOCALTEXMFPREFIX}
post-install:
@${ECHO} "======> Building musixdoc.ps"
@@ -85,5 +88,4 @@ post-install:
latex musixdoc ; \
dvips musixdoc.dvi -o musixdoc.ps
-.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-musixtex/PLIST b/print/tex-musixtex/PLIST
index 7beaf666773..13e7540e4ce 100644
--- a/print/tex-musixtex/PLIST
+++ b/print/tex-musixtex/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2005/11/08 21:45:01 tonio Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/04/07 03:08:49 minskim Exp $
bin/musixflx
bin/musixtex
man/man1/musixflx.1
@@ -220,10 +220,6 @@ ${PKG_LOCALTEXMFPREFIX}/tex/latex/musixtex/musixtex.sty
${PKG_LOCALTEXMFPREFIX}/tex/latex/musixtex/musixtex.tex
${PKG_LOCALTEXMFPREFIX}/tex/latex/musixtex/musixtri.tex
${PKG_LOCALTEXMFPREFIX}/web2c/musixtex.fmt
-@exec %D/bin/texconfig rehash
-@unexec %D/bin/texconfig rehash
-@exec %D/bin/mktexlsr
-@unexec %D/bin/mktexlsr
@dirrm ${PKG_LOCALTEXMFPREFIX}/tex/latex/musixtex
@dirrm ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/musixtex
@dirrm ${PKG_LOCALTEXMFPREFIX}/fonts/source/musixtex