aboutsummaryrefslogtreecommitdiff
path: root/print/amspsfnt/Makefile
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-04-13 16:16:41 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-04-13 16:16:41 +0000
commitb2bb98fea4a621b9c080ced9f72b45c5c4e1a3d3 (patch)
tree731caf7cb67849f0c3efaa24d22c22c584c51d6b /print/amspsfnt/Makefile
parent0c074c165874633830ec91d0860eca96a1d793b9 (diff)
downloadports-b2bb98fea4a621b9c080ced9f72b45c5c4e1a3d3.tar.gz
ports-b2bb98fea4a621b9c080ced9f72b45c5c4e1a3d3.zip
Notes
Diffstat (limited to 'print/amspsfnt/Makefile')
-rw-r--r--print/amspsfnt/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/print/amspsfnt/Makefile b/print/amspsfnt/Makefile
new file mode 100644
index 000000000000..11c69e2ef111
--- /dev/null
+++ b/print/amspsfnt/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: amspsfnt
+# Version required: 1.0
+# Date created: 11 September 1998
+# Whom: giffunip
+#
+# $Id$
+#
+
+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} $(TEXDIR)/fonts/afm
+ $(INSTALL_DATA) ${WRKSRC}/afm/* $(TEXDIR)/fonts/afm
+
+.ifndef (NOPORTSDOC)
+ @${MKDIR} $(PREFIX)/share/doc/amspsfnt
+ $(INSTALL_DATA) ${WRKSRC}/READ.ME $(PREFIX)/share/doc/amspsfnt
+.endif
+
+.include <bsd.port.mk>