summaryrefslogtreecommitdiff
path: root/fonts/sgi-fonts/Makefile
blob: 3d4026f8966db0bb87115ff40f6ab4291000e234 (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
# $NetBSD: Makefile,v 1.20 2015/07/04 16:18:33 joerg Exp $
#

DISTNAME=	sgi-fonts-1.0-457.src
PKGNAME=	sgi-fonts-1.0.457
PKGREVISION=	4
CATEGORIES=	fonts
MASTER_SITES=	http://public.planetmirror.com/pub/suse/i386/8.2/suse/src/
EXTRACT_SUFX=	.rpm

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://oss.sgi.com/projects/sgi_propack/
COMMENT=	Linux compatibility package for SGI fonts

WRKSRC=		${WRKDIR}/sgi-fonts
USE_LANGUAGES=	c

FONTS_DIRS.x11=	${PREFIX}/share/fonts/X11/misc/sgi

USE_IMAKE=	yes
USE_TOOLS+=	bdftopcf bzcat tar pax gzip

INSTALLATION_DIRS=	share/fonts/X11/misc/sgi

post-extract:
	cd ${WRKDIR} && bzcat sgi-fonts.tar.bz2 | tar xf -

do-install:
	cd ${WRKSRC} && pax -rw -pm *pcf.gz \
		${DESTDIR}${PREFIX}/share/fonts/X11/misc/sgi
	${INSTALL_DATA} ${WRKSRC}/Scr15.pcf \
		${DESTDIR}${PREFIX}/share/fonts/X11/misc/sgi

.include "../../mk/bsd.pkg.mk"