aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/sgifonts
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-18 00:56:04 +0800
committerbapt <bapt@FreeBSD.org>2013-04-18 00:56:04 +0800
commite7051c50106ffed58e7147829acb9bd8570de3f8 (patch)
tree123cd5186a6716a0a494bb2b1986b41764ac36df /x11-fonts/sgifonts
parentc33e3e644bffa0a72e69f5c65476a551273cbb27 (diff)
downloadfreebsd-ports-gnome-e7051c50106ffed58e7147829acb9bd8570de3f8.tar.gz
freebsd-ports-gnome-e7051c50106ffed58e7147829acb9bd8570de3f8.tar.zst
freebsd-ports-gnome-e7051c50106ffed58e7147829acb9bd8570de3f8.zip
All supported version of FreeBSD have a bsdtar version that support extracting rpm.
Remove now useless dependency on rpm2cpio Feature safe: yes
Diffstat (limited to 'x11-fonts/sgifonts')
-rw-r--r--x11-fonts/sgifonts/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/x11-fonts/sgifonts/Makefile b/x11-fonts/sgifonts/Makefile
index 677d1930b272..ed745384382e 100644
--- a/x11-fonts/sgifonts/Makefile
+++ b/x11-fonts/sgifonts/Makefile
@@ -13,7 +13,6 @@ EXTRACT_SUFX= .rpm
MAINTAINER= ports@FreeBSD.org
COMMENT= Fonts from the SGI ProPack 1.4 (originally for Linux)
-EXTRACT_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
@@ -21,15 +20,11 @@ PLIST= ${WRKDIR}/pkg-plist
PLIST_DIRS= lib/X11/fonts/local/sgi
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_IMAKE= yes
+EXTRACT_CMD= ${TAR}
+EXTRACT_BEFORE_ARGS= -O -xf
+EXTRACT_AFTER_ARGS= sgi-fonts.tar.gz | ${TAR} -xf -
WRKSRC= ${WRKDIR}/sgi-fonts
-do-extract:
- @${MKDIR} ${WRKDIR}
- @cd ${WRKDIR}; rpm2cpio.pl ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} \
- | ${CPIO} --extract --no-preserve-owner \
- --preserve-modification-time --unconditional --quiet
- @${TAR} -C ${WRKDIR} -xf ${WRKDIR}/sgi-fonts.tar.gz
-
pre-install:
@${RM} -f ${PLIST}
@cd ${WRKSRC}; for ii in `${LS} *gz fonts.alias fonts.dir|${SORT}`; do \