Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2019 09:45:25 +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: r504008 - head/Mk/Uses
Message-ID:  <201906120945.x5C9jPkr024791@repo.freebsd.org>

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

Log:
  Add `.tar.lz' suffix support to our framework since BSD tar(1) natively
  supports it.
  
  Lzip offers better compression ratios and archival features compared to
  more common .gz or .xz formats, and is being used by some software when
  packaging their distfiles.
  
  Approved by:	portmgr (rene)
  Differential Revision:	https://reviews.freebsd.org/D20619

Modified:
  head/Mk/Uses/tar.mk

Modified: head/Mk/Uses/tar.mk
==============================================================================
--- head/Mk/Uses/tar.mk	Wed Jun 12 09:39:35 2019	(r504007)
+++ head/Mk/Uses/tar.mk	Wed Jun 12 09:45:25 2019	(r504008)
@@ -3,7 +3,7 @@
 # handle tar archives
 #
 # Feature:	tar
-# Usage:	USES=tar[:[xz|lzma|Z|bzip2|tgz|tbz]]
+# Usage:	USES=tar[:[xz|lz|lzma|txz|bz[ip]2|tgz|tbz|tbz2|Z]]
 #
 # MAINTAINER: portmgr@FreeBSD.org
 
@@ -12,6 +12,8 @@ _INCLUDE_USES_TAR_MK=	yes
 
 .if ${tar_ARGS} == xz
 EXTRACT_SUFX?=	.tar.xz
+.elif ${tar_ARGS} == lz
+EXTRACT_SUFX?=	.tar.lz
 .elif ${tar_ARGS} == lzma
 EXTRACT_SUFX?=	.tar.lzma
 .elif ${tar_ARGS} == txz



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