pkgsrc/print/tex-ocrb/Makefile
wiz d70523df21 Remove USE_DIRS from pkgsrc.
Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.

Packages needing empty directories can use the @pkgdir command in PLIST.

Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
2009-07-22 09:01:16 +00:00

42 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2009/07/22 09:01:44 wiz Exp $
#
DISTNAME= ocr-b
PKGNAME= tex-ocrb-1.0
PKGREVISION= 3
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=fonts/${DISTNAME}/}
MAINTAINER= pkgsrc-users@NetBSD.org
# HOMEPAGE=
COMMENT= OCR-B font for LaTeX
WRKSRC= ${WRKDIR}/ocr-b
DIST_SUBDIR= ${DISTNAME}
DISTFILES= ocrb10.mf ocrb10e.mf ocrb10f.mf ocrb10g.mf ocrb10l.mf \
ocrb10s.mf ocrb10x.mf ocrb5.mf ocrb6.mf ocrb7.mf ocrb8.mf \
ocrb9.mf ocrbdef.mf ocrbinfo ocrbmac.mf
NO_CONFIGURE= yes
NO_BUILD= yes
PLIST_SUBST+= LOCALTEXMF=${PKG_LOCALTEXMFPREFIX:S/${PREFIX}\///}
.include "../../print/teTeX/module.mk"
do-extract:
${MKDIR} ${WRKSRC}
for f in ${DISTFILES}; do \
${CP} ${DISTDIR}/${DIST_SUBDIR}/$$f ${WRKSRC}; \
done
do-install:
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/fonts/ocrb
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/tfm/ocrb
${INSTALL_DATA} ${WRKSRC}/ocrbinfo \
${PKG_LOCALTEXMFPREFIX}/doc/fonts/ocrb
${INSTALL_DATA} ${WRKSRC}/*.mf \
${PKG_LOCALTEXMFPREFIX}/fonts/source/ocrb
.include "../../mk/bsd.pkg.mk"