diff options
author | minskim <minskim@pkgsrc.org> | 2006-04-07 03:26:16 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-04-07 03:26:16 +0000 |
commit | 71de1854e194d142e2669c6788a1ddb63eec3108 (patch) | |
tree | 4b18ea141f9e29e61940146717761fc013a55de6 /print/tex-ocrb | |
parent | f78ecbb71e765ce9acefd7492f8431f262cbc141 (diff) | |
download | pkgsrc-71de1854e194d142e2669c6788a1ddb63eec3108.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-ocrb')
-rw-r--r-- | print/tex-ocrb/Makefile | 11 | ||||
-rw-r--r-- | print/tex-ocrb/PLIST | 6 |
2 files changed, 9 insertions, 8 deletions
diff --git a/print/tex-ocrb/Makefile b/print/tex-ocrb/Makefile index 477eb9ca7de..3e5427dee1c 100644 --- a/print/tex-ocrb/Makefile +++ b/print/tex-ocrb/Makefile @@ -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 @@ DISTFILES= ocrb10.mf ocrb10e.mf ocrb10f.mf ocrb10g.mf ocrb10l.mf \ 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 @@ do-install: ${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 --git a/print/tex-ocrb/PLIST b/print/tex-ocrb/PLIST index 2979f489aa0..dae037c6c3b 100644 --- a/print/tex-ocrb/PLIST +++ b/print/tex-ocrb/PLIST @@ -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/ocrb8.mf ${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 |