summaryrefslogtreecommitdiff
path: root/fonts/bakoma-fonts/Makefile
blob: 86633a567b8cd0e092fe5992ec75f7dedd4db7da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.8 2008/03/03 20:17:11 jlam Exp $
#

DISTNAME=	bakoma-20010719
PKGNAME=	bakoma-fonts-1.1
CATEGORIES=	fonts
MASTER_SITES=	${MASTER_SITE_LOCAL}
# The "on the fly" distfile creation from CTAN messes up the checksums.
#MASTER_SITES=	${MASTER_SITE_TEX_CTAN:=fonts/cm/ps-type1/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/
COMMENT=	BaKoMa Fonts for TeX

LICENSE+=		no-commercial-use
NO_SRC_ON_CDROM=	#defined
NO_BIN_ON_CDROM=	#defined

PKG_DESTDIR_SUPPORT=	user-destdir

BAKOMA_DIR=		${PREFIX}/share/tex-contrib/BaKoMa
WRKSRC=			${WRKDIR}/bakoma

do-build:
	${RM} -f ${WRKSRC}/fontmap.map
	${CAT} ${WRKSRC}/etc/cmfonts.map ${WRKSRC}/etc/amsfonts.map  | \
		${SED} 's;<;<${BAKOMA_DIR}/pfb/;g' > ${WRKSRC}/fontmap.map

do-install:
.for d in afm etc pfb pfm tfm ttf
	${INSTALL_DATA_DIR} ${DESTDIR}${BAKOMA_DIR}/${d}
	${INSTALL_DATA} ${WRKSRC}/${d}/* ${DESTDIR}${BAKOMA_DIR}/${d}
.endfor
.for f in fontmap.map BaKoMa-AMS.Fonts BaKoMa-CM.Fonts README.news
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${BAKOMA_DIR}
.endfor

.include "../../mk/bsd.pkg.mk"