summaryrefslogtreecommitdiffstats
path: root/print/cmpsfont/Makefile
blob: d375490df2207adfd9aa40643b6c61cc1a0c283a (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
# New ports collection makefile for:	cmps
# Date created:		11 September 1998
# Whom:			giffunip
#
# $FreeBSD$
#

PORTNAME=	cmpsfont
PORTVERSION=	1.0
PORTREVISION=	1
CATEGORIES=	print
MASTER_SITES=	ftp://ftp.ams.org/pub/tex/psfonts/cm/
DISTNAME=	cmps
EXTRACT_SUFX=	-unix.tar.gz

MAINTAINER=	ports@FreeBSD.org

BUILD_DEPENDS=	${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst

WRKSRC=		${WRKDIR}/cmpsfont
TEXDIR=		${PREFIX}/share/texmf

do-build:
	(cd ${WRKSRC}/pfb; ${LOCALBASE}/bin/type1inst -nolog -q)

do-install:
	@${MKDIR} ${TEXDIR}/fonts/type1
	${INSTALL_DATA} ${WRKSRC}/pfb/* ${TEXDIR}/fonts/type1
	@${MKDIR} ${PREFIX}/lib/afm
	${INSTALL_DATA} ${WRKSRC}/afm/* ${PREFIX}/lib/afm

.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/cmpsfont
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cmpsfont
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud