aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-08-04 19:46:15 +0800
committerbapt <bapt@FreeBSD.org>2014-08-04 19:46:15 +0800
commit6952ec27f17edf61d74e7563d11758c97bacf037 (patch)
tree47e522166ed02e48fcf5ca590d9d92c7e1c9a09e /Mk
parent94e17a4955bfda5e58c9c72f746b25ed8927ba82 (diff)
downloadfreebsd-ports-gnome-6952ec27f17edf61d74e7563d11758c97bacf037.tar.gz
freebsd-ports-gnome-6952ec27f17edf61d74e7563d11758c97bacf037.tar.zst
freebsd-ports-gnome-6952ec27f17edf61d74e7563d11758c97bacf037.zip
Add txz and bz2 arguments to USES=tar
bz2 with other arguments where the argument is the extention not the frmat Keep bzip2 as an alias for bz2.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/tar.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/Uses/tar.mk b/Mk/Uses/tar.mk
index 92eb0f76997d..18ba4484ef81 100644
--- a/Mk/Uses/tar.mk
+++ b/Mk/Uses/tar.mk
@@ -16,7 +16,9 @@ tar_ARGS?= none
EXTRACT_SUFX?= .tar.xz
.elif ${tar_ARGS} == lzma
EXTRACT_SUFX?= .tar.lzma
-.elif ${tar_ARGS} == bzip2
+.elif ${tar_ARGS} == txz
+EXTRACT_SUFX?= .txz
+.elif ${tar_ARGS} == bzip2 || ${tar_ARGS} == bz2
EXTRACT_SUFX?= .tar.bz2
.elif ${tar_ARGS} == tgz
EXTRACT_SUFX?= .tgz