diff options
author | agc <agc> | 2003-12-07 11:28:58 +0000 |
---|---|---|
committer | agc <agc> | 2003-12-07 11:28:58 +0000 |
commit | b9c6ab3df32d1184ee4a2787d581532d5ce03a8e (patch) | |
tree | 3bd9dbe19c3d0fc8924caa3e598247b8d4afe395 /fonts | |
parent | 03847a433d07305baed5c220c66b39dae01225bd (diff) | |
download | pkgsrc-b9c6ab3df32d1184ee4a2787d581532d5ce03a8e.tar.gz |
Allow this to extract on systems where tar's 'z' support does not know
anything about bzip2.
Move WRKSRC back to the right place.
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/sgi-fonts/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fonts/sgi-fonts/Makefile b/fonts/sgi-fonts/Makefile index 4a1905c2318..7aac9ec7662 100644 --- a/fonts/sgi-fonts/Makefile +++ b/fonts/sgi-fonts/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2003/12/05 15:16:19 salo Exp $ +# $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 -WRKSRC= ${WRKDIR}/sgi-fonts CATEGORIES= fonts MASTER_SITES= http://public.planetmirror.com/pub/suse/i386/8.2/suse/src/ EXTRACT_SUFX= .rpm @@ -13,6 +12,11 @@ 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 @@ -20,6 +24,6 @@ RPM2PKG= ${PREFIX}/sbin/rpm2pkg do-extract: ${RPM2PKG} -d ${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} - cd ${WRKDIR} && ${GTAR} xzf sgi-fonts.tar.bz2 + cd ${WRKDIR} && bzcat sgi-fonts.tar.bz2 | ${GTAR} xf - .include "../../mk/bsd.pkg.mk" |