summaryrefslogtreecommitdiff
path: root/fonts/sgi-fonts/Makefile
blob: 7aac9ec766214b8abf481e77005686e6f2f49499 (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.3 2003/12/07 11:28:58 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=	${PREFIX}/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"