svn commit: r504009 - in head: archivers/zutils sysutils/ddrescue

Alexey Dokuchaev danfe at FreeBSD.org
Wed Jun 12 10:25:57 UTC 2019


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 at 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 at 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


More information about the svn-ports-head mailing list