1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/amspsfnt/Makefile
1999-08-31 01:53:22 +00:00

42 lines
1.0 KiB
Makefile

# New ports collection makefile for: amspsfnt
# Version required: 1.0
# Date created: 11 September 1998
# Whom: giffunip
#
# $FreeBSD$
#
DISTNAME= amsps
PKGNAME= amspsfnt-1.0
CATEGORIES= print
MASTER_SITES= ftp://ftp.ams.org/pub/tex/psfonts/ams/
EXTRACT_SUFX= -unix.tar.gz
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= $(LOCALBASE)/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst
WRKSRC= $(WRKDIR)/amspsfnt
TEXDIR= $(PREFIX)/share/texmf
AMSFNTDIR= $(TEXDIR)/fonts/ams
do-build:
(cd ${WRKSRC}/pfb; $(LOCALBASE)/bin/type1inst -nolog -q)
do-install:
@${MKDIR} $(AMSFNTDIR)/tfm
$(INSTALL_DATA) ${WRKSRC}/tfm/* $(AMSFNTDIR)/tfm
@${MKDIR} $(AMSFNTDIR)/type1
$(INSTALL_DATA) ${WRKSRC}/pfb/* $(AMSFNTDIR)/type1
@${MKDIR} $(TEXDIR)/dvips/mapfiles.ams
$(INSTALL_DATA) ${WRKSRC}/mapfiles/* $(TEXDIR)/dvips/mapfiles.ams
@${MKDIR} $(PREFIX)/lib/afm
$(INSTALL_DATA) ${WRKSRC}/afm/* $(PREFIX)/lib/afm
.ifndef (NOPORTSDOC)
@${MKDIR} $(PREFIX)/share/doc/amspsfnt
$(INSTALL_DATA) ${WRKSRC}/READ.ME $(PREFIX)/share/doc/amspsfnt
.endif
.include <bsd.port.mk>