1999-04-13 16:15:33 +00:00
|
|
|
# New ports collection makefile for: cmps
|
|
|
|
# Date created: 11 September 1998
|
|
|
|
# Whom: giffunip
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1999-04-13 16:15:33 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= cmpsfont
|
|
|
|
PORTVERSION= 1.0
|
2001-08-20 01:45:21 +00:00
|
|
|
PORTREVISION= 1
|
1999-04-13 16:15:33 +00:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ftp://ftp.ams.org/pub/tex/psfonts/cm/
|
2000-04-09 17:41:40 +00:00
|
|
|
DISTNAME= cmps
|
1999-04-13 16:15:33 +00:00
|
|
|
EXTRACT_SUFX= -unix.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= Computer Modern PostScript Fonts (Adobe Type 1 format)
|
1999-04-13 16:15:33 +00:00
|
|
|
|
2001-08-20 01:45:21 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
|
1999-04-13 16:15:33 +00:00
|
|
|
|
2001-08-20 01:45:21 +00:00
|
|
|
WRKSRC= ${WRKDIR}/cmpsfont
|
|
|
|
TEXDIR= ${PREFIX}/share/texmf
|
1999-04-13 16:15:33 +00:00
|
|
|
|
|
|
|
do-build:
|
2001-08-20 01:45:21 +00:00
|
|
|
(cd ${WRKSRC}/pfb; ${LOCALBASE}/bin/type1inst -nolog -q)
|
1999-04-13 16:15:33 +00:00
|
|
|
|
|
|
|
do-install:
|
2001-08-20 01:45:21 +00:00
|
|
|
@${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
|
1999-04-13 16:15:33 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|