Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2019 10:25:56 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504009 - in head: archivers/zutils sysutils/ddrescue
Message-ID:  <201906121025.x5CAPuQQ045572@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Jun 12 10:25:56 2019
New Revision: 504009
URL: https://svnweb.freebsd.org/changeset/ports/504009

Log:
  Convert to USES=tar:lz now that support for it was added in r504008.

Modified:
  head/archivers/zutils/Makefile
  head/sysutils/ddrescue/Makefile

Modified: head/archivers/zutils/Makefile
==============================================================================
--- head/archivers/zutils/Makefile	Wed Jun 12 09:45:25 2019	(r504008)
+++ head/archivers/zutils/Makefile	Wed Jun 12 10:25:56 2019	(r504009)
@@ -5,24 +5,17 @@ PORTNAME=	zutils
 PORTVERSION=	1.8
 CATEGORIES=	archivers
 MASTER_SITES=	SAVANNAH/zutils
-EXTRACT_SUFX=	.tar.lz
 
 MAINTAINER=	danilo@FreeBSD.org
 COMMENT=	Utilities for searching in bzip2, gzip, lzip, and xz archives
 
 LICENSE=	GPLv2
 
-EXTRACT_DEPENDS=	lzip:archivers/lzip
-
-INFO=		zutils
-
+USES=		tar:lz
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 
-do-extract:
-	@${MKDIR} ${WRKDIR}
-	@(cd ${WRKDIR} ; ${LOCALBASE}/bin/lzip -cd \
-		${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | ${TAR} -xf -)
+INFO=		zutils
 
 post-patch:
 	# Remove compiler hardcoded flags and use environment

Modified: head/sysutils/ddrescue/Makefile
==============================================================================
--- head/sysutils/ddrescue/Makefile	Wed Jun 12 09:45:25 2019	(r504008)
+++ head/sysutils/ddrescue/Makefile	Wed Jun 12 10:25:56 2019	(r504009)
@@ -5,15 +5,13 @@ PORTNAME=	ddrescue
 PORTVERSION=	1.24
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU
-EXTRACT_SUFX=	.tar.lz
 
 MAINTAINER=	jharris@widomaker.com
 COMMENT=	Data recovery tool
 
 LICENSE=	GPLv2
 
-EXTRACT_DEPENDS=lzip:archivers/lzip
-
+USES=		tar:lz
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
 		CXXFLAGS="${CXXFLAGS}"
@@ -26,11 +24,6 @@ PLIST_FILES=	bin/ddrescue \
 		man/man1/ddrescuelog.1.gz
 
 OPTIONS_DEFINE=	DOCS
-
-do-extract:
-	@${MKDIR} ${WRKDIR}
-	@${LOCALBASE}/bin/lzip -dc ${DISTDIR}/${DISTFILES} | \
-	${TAR} -x -f - -C ${WRKDIR} --no-same-owner --no-same-permissions
 
 do-install:
 .for i in ddrescue ddrescuelog



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