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
This commit is contained in:
parent
abf6ee1855
commit
4b300bf9b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504008
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user