[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / fonts / bakoma-fonts

File: [cvs.NetBSD.org] / pkgsrc / fonts / bakoma-fonts / Makefile (download)

Revision 1.10, Wed Oct 3 18:28:17 2012 UTC (11 years, 4 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.9: +1 -3 lines

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.10 2012/10/03 18:28:17 asau 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

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"