pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/tex-musixtex - Use teTeX/module.mk to properly u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c174948b74a8
branches:  trunk
changeset: 510952:c174948b74a8
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Apr 07 03:08:49 2006 +0000

description:
- Use teTeX/module.mk to properly update the ls-R database.
- Use texmf-dirs to install into texmf-local.

Bump PKGREVISION.

diffstat:

 print/tex-musixtex/Makefile |  10 ++++++----
 print/tex-musixtex/PLIST    |   6 +-----
 2 files changed, 7 insertions(+), 9 deletions(-)

diffs (67 lines):

diff -r f64b6d9ca13d -r c174948b74a8 print/tex-musixtex/Makefile
--- a/print/tex-musixtex/Makefile       Fri Apr 07 03:01:36 2006 +0000
+++ b/print/tex-musixtex/Makefile       Fri Apr 07 03:08:49 2006 +0000
@@ -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 @@
 
 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 @@
 
 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 @@
        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 @@
                latex  musixdoc ; \
                dvips musixdoc.dvi -o musixdoc.ps
 
-.include "../../mk/tex.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f64b6d9ca13d -r c174948b74a8 print/tex-musixtex/PLIST
--- a/print/tex-musixtex/PLIST  Fri Apr 07 03:01:36 2006 +0000
+++ b/print/tex-musixtex/PLIST  Fri Apr 07 03:08:49 2006 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index