add .tbz to the list of known EXTRACT_SUFX entries

ok espie@ brad@ dcoppa@
This commit is contained in:
avsm 2011-11-02 17:16:30 +00:00
parent 20b865d345
commit 8442300dd1

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*- #-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make: # ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.1120 2011/10/25 15:08:10 espie Exp $ # $OpenBSD: bsd.port.mk,v 1.1121 2011/11/02 17:16:30 avsm Exp $
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $ # $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $ # $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
# #
@ -1115,7 +1115,7 @@ _USE_ZIP ?= Yes
.if !empty(EXTRACT_ONLY:M*.tar.xz) .if !empty(EXTRACT_ONLY:M*.tar.xz)
_USE_XZ ?= Yes _USE_XZ ?= Yes
.endif .endif
.if !empty(EXTRACT_ONLY:M*.tar.bz2) || !empty(EXTRACT_ONLY:M*.tbz2) || \ .if !empty(EXTRACT_ONLY:M*.tar.bz2) || !empty(EXTRACT_ONLY:M*.tbz2) || !empty(EXTRACT_ONLY:M*.tbz) || \
(defined(PATCHFILES) && !empty(_PATCHFILES:M*.bz2)) (defined(PATCHFILES) && !empty(_PATCHFILES:M*.bz2))
_USE_BZIP2 ?= Yes _USE_BZIP2 ?= Yes
.endif .endif
@ -1140,7 +1140,7 @@ EXTRACT_CASES += *.zip) \
.endif .endif
.if ${_USE_BZIP2:L} != "no" .if ${_USE_BZIP2:L} != "no"
BUILD_DEPENDS += archivers/bzip2 BUILD_DEPENDS += archivers/bzip2
EXTRACT_CASES += *.tar.bz2|*.tbz2) \ EXTRACT_CASES += *.tar.bz2|*.tbz2|*.tbz) \
${BZIP2} -dc ${FULLDISTDIR}/$$archive | ${TAR} xf -;; ${BZIP2} -dc ${FULLDISTDIR}/$$archive | ${TAR} xf -;;
.endif .endif
EXTRACT_CASES += *.tar) \ EXTRACT_CASES += *.tar) \