Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2013 14:43:06 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315970 - head/x11-themes/bluecurve-themes
Message-ID:  <201304171443.r3HEh6iH035153@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Apr 17 14:43:05 2013
New Revision: 315970
URL: http://svnweb.freebsd.org/changeset/ports/315970

Log:
  All supported version of FreeBSD have a bsdtar version that support extracting rpm.
  Remove now useless dependency on rpm2cio
  
  Feature safe:	yes

Modified:
  head/x11-themes/bluecurve-themes/Makefile

Modified: head/x11-themes/bluecurve-themes/Makefile
==============================================================================
--- head/x11-themes/bluecurve-themes/Makefile	Wed Apr 17 13:46:37 2013	(r315969)
+++ head/x11-themes/bluecurve-themes/Makefile	Wed Apr 17 14:43:05 2013	(r315970)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	bluecurve-themes
-# Date created:			29 May 2005
-# Whom:				Jean-Yves Lefort <jylefort@FreeBSD.org>
-#
+# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
 # $FreeBSD$
-#
 
 # NOTE TO VISITING COMMITTER: if you need to bump the port revisions
 # of the slave ports, you should add PORTREVISION?= to the "master
@@ -47,8 +43,6 @@ MASTER_SITES=	${MASTER_SITE_FEDORA_LINUX
 MASTER_SITE_SUBDIR=	../releases/7/Fedora/source/SRPMS/
 DISTFILES=	redhat-artwork-${PORTVERSION}-9.fc7.src.rpm
 
-EXTRACT_DEPENDS+=	rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
-
 USE_PKGCONFIG=	build
 
 WRKSRC=		${WRKDIR}/redhat-artwork-${PORTVERSION}
@@ -61,9 +55,7 @@ SCRIPTDIR=	${.CURDIR}/scripts
 
 do-extract:
 	@${MKDIR} ${WRKDIR}
-	@cd ${WRKDIR} && \
-	rpm2cpio.pl ${_DISTDIR}/${_DISTFILES} | ${CPIO} -id --quiet && \
-	${TAR} -zxf redhat-artwork-${PORTVERSION}.tar.gz
+	cd ${WRKDIR} && ${TAR} -O -xf ${_DISTDIR}/${_DISTFILES} redhat-artwork-${PORTVERSION}.tar.gz | ${TAR} -xf -
 
 .if defined(BC_HIERS)
 .if !exists(${PLIST})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304171443.r3HEh6iH035153>