summaryrefslogtreecommitdiff
path: root/fonts/sgi-fonts/Makefile
blob: 800b76663fd0f62a18bbe3c372557a108981f934 (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
# $NetBSD: Makefile,v 1.4 2003/12/07 17:02:40 agc Exp $
#

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

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

BUILD_DEPENDS+=	rpm2pkg>=1.3:../../pkgtools/rpm2pkg
.if !exists(/usr/bin/bzcat)
BUILD_DEPENDS+=	bzip2>=1.0.2:../../archivers/bzip2
.endif

WRKSRC=		${WRKDIR}/sgi-fonts

USE_IMAKE=	YES

RPM2PKG=	${LOCALBASE}/sbin/rpm2pkg

do-extract:
	${RPM2PKG} -d ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
	cd ${WRKDIR} && bzcat sgi-fonts.tar.bz2 | ${GTAR} xf -

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