mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
0c074c1658
PR: ports/9740 Submitted by: Pedro F. Giffuni pfgiffun@bachue.usc.unal.edu.co
39 lines
949 B
Makefile
39 lines
949 B
Makefile
# New ports collection makefile for: cmps
|
|
# Version required: 1.0
|
|
# Date created: 11 September 1998
|
|
# Whom: giffunip
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
DISTNAME= cmps
|
|
PKGNAME= cmpsfont-1.0
|
|
CATEGORIES= print
|
|
MASTER_SITES= ftp://ftp.ams.org/pub/tex/psfonts/cm/
|
|
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} $(TEXDIR)/dvips/mapfiles
|
|
$(INSTALL_DATA) ${WRKSRC}/mapfiles/* $(TEXDIR)/dvips/mapfiles
|
|
@${MKDIR} $(TEXDIR)/fonts/afm
|
|
$(INSTALL_DATA) ${WRKSRC}/afm/* $(TEXDIR)/fonts/afm
|
|
|
|
.if !defined(NOPORTSDOC)
|
|
@${MKDIR} $(PREFIX)/share/doc/cmpsfont
|
|
$(INSTALL_DATA) ${WRKSRC}/READ.ME $(PREFIX)/share/doc/cmpsfont
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|