summaryrefslogtreecommitdiffstats
path: root/print/gsfonts/Makefile
blob: 91c5399cb07ff545cdc0c5efcaeb3b6c98661588 (plain)
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
# New ports collection makefile for:	gsfonts
# Version required:	5.10a
# Date created:		11 September 1997
# Whom:			giffunip
#
# $Id: Makefile,v 1.2 1999/01/27 07:41:26 fenner Exp $
#

DISTNAME=	gsfonts-5.10
CATEGORIES=	print
MASTER_SITES=	ftp://ftp.cs.wisc.edu/ghost/gnu/fonts/	\
		$(MASTER_SITE_GNU)
MASTER_SITE_SUBDIR=	ghostscript
DISTFILES=	${GS_FONTS_STD} ${GS_FONTS_OTHER}

MAINTAINER=	ports@FreeBSD.org

BUILD_DEPENDS=	$(LOCALBASE)/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst	\
		$(X11BASE)/bin/mkfontdir:${PORTSDIR}/x11/XFree86

EXTRACT_ONLY=
NO_BUILD=	yes

GS_FONTS_STD=	ghostscript-fonts-5.10a.tar.gz
GS_FONTS_OTHER=	ghostscript-fonts-other-5.10.tar.gz
GSDIR=	${PREFIX}/share/ghostscript

do-install:
	@${MKDIR} ${GSDIR}/fonts
	tar -xzf ${DISTDIR}/${GS_FONTS_OTHER} -C ${GSDIR}/fonts
	tar -xzf ${DISTDIR}/${GS_FONTS_STD} -C ${GSDIR}/fonts
	(cd ${PREFIX}/share/ghostscript/fonts; $(LOCALBASE)/bin/type1inst -nogs -nolog -q)

.include <bsd.port.mk>
OpenPOWER on IntegriCloud