pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6712fa2eef8b
branches:  trunk
changeset: 510953:6712fa2eef8b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Apr 07 03:26:16 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-ocrb/Makefile |  11 +++++++----
 print/tex-ocrb/PLIST    |   6 ++----
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (54 lines):

diff -r c174948b74a8 -r 6712fa2eef8b print/tex-ocrb/Makefile
--- a/print/tex-ocrb/Makefile   Fri Apr 07 03:08:49 2006 +0000
+++ b/print/tex-ocrb/Makefile   Fri Apr 07 03:26:16 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.10 2006/03/04 21:30:32 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2006/04/07 03:26:16 minskim Exp $
 #
 
 DISTNAME=      ocr-b
 PKGNAME=       tex-ocrb-1.0
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=fonts/${DISTNAME}/}
 
@@ -19,6 +19,11 @@
 
 NO_CONFIGURE=  yes
 NO_BUILD=      yes
+USE_DIRS+=     texmf-1.0
+
+PLIST_SUBST+=  LOCALTEXMF=${PKG_LOCALTEXMFPREFIX:S/${PREFIX}\///}
+
+.include "../../print/teTeX/module.mk"
 
 do-extract:
        ${MKDIR} ${WRKSRC}
@@ -34,7 +39,5 @@
                ${PKG_LOCALTEXMFPREFIX}/doc/fonts/ocrb
        ${INSTALL_DATA} ${WRKSRC}/*.mf \
                ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb
-       ${LOCALBASE}/bin/texconfig rehash
 
-.include "../../mk/tex.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c174948b74a8 -r 6712fa2eef8b print/tex-ocrb/PLIST
--- a/print/tex-ocrb/PLIST      Fri Apr 07 03:08:49 2006 +0000
+++ b/print/tex-ocrb/PLIST      Fri Apr 07 03:26:16 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2005/11/08 21:45:01 tonio Exp $
+@comment $NetBSD: PLIST,v 1.3 2006/04/07 03:26:16 minskim Exp $
 ${PKG_LOCALTEXMFPREFIX}/doc/fonts/ocrb/ocrbinfo
 ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb/ocrb10.mf
 ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb/ocrb10e.mf
@@ -14,8 +14,6 @@
 ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb/ocrb9.mf
 ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb/ocrbdef.mf
 ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb/ocrbmac.mf
-@unexec ${RM} -rf %D/${PKG_LOCALTEXMFPREFIX}/fonts/tfm/ocrb || ${TRUE}
-@exec %D/bin/texconfig rehash
-@unexec %D/bin/texconfig rehash
+@unexec ${RM} -rf %D/${LOCALTEXMF}/fonts/tfm/ocrb || ${TRUE}
 @dirrm ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb
 @dirrm ${PKG_LOCALTEXMFPREFIX}/doc/fonts/ocrb



Home | Main Index | Thread Index | Old Index