blob: b0856a2bc7ae418165f90186157c2420e8228fc6 (
plain) (
blame)
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
39
40
|
# New ports collection makefile for: cmps
# Date created: 11 September 1998
# Whom: giffunip
#
# $FreeBSD$
#
PORTNAME= cmpsfont
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= print x11-fonts
MASTER_SITES= ftp://ftp.ams.org/pub/tex/psfonts/cm/
DISTNAME= cmps
EXTRACT_SUFX= -unix.tar.gz
MAINTAINER= hrs@FreeBSD.org
COMMENT= Computer Modern PostScript Fonts (Adobe Type 1 format)
BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/cmpsfont
FONTSDIR= share/fonts/${PORTNAME}
do-build:
(cd ${WRKSRC}/pfb; ${LOCALBASE}/bin/type1inst -nolog)
do-install:
${MKDIR} ${PREFIX}/${FONTSDIR}/afm
${INSTALL_DATA} ${WRKSRC}/afm/* ${PREFIX}/${FONTSDIR}/afm
${MKDIR} ${PREFIX}/${FONTSDIR}/pfb
${INSTALL_DATA} ${WRKSRC}/pfb/* ${PREFIX}/${FONTSDIR}/pfb
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/cmsample.tex ${PREFIX}/${FONTSDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|