mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
d17874dc5d
USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format: - plain tar - tar.xz - tar.bz2 - tar.Z - tgz USES=lha handles distributions files info LHA format
23 lines
390 B
Makefile
23 lines
390 B
Makefile
# $FreeBSD$
|
|
#
|
|
# handle lha archives
|
|
#
|
|
# Feature: lha
|
|
# Usage: USES=lha
|
|
#
|
|
.if !defined(_INCLUDE_USES_LHA_Mk)
|
|
_INCLUDE_USES_LHA_MK= yes
|
|
|
|
EXTRACT_SUFX?= .lzh
|
|
|
|
.if defined(lha_ARGS)
|
|
IGNORE= Incorrect 'USES+=lha:${lha_ARGS}' expecting 'USES+=lha'
|
|
.endif
|
|
|
|
EXTRACT_DEPENDS+= lha:${PORTSDIR}/archivers/lha
|
|
EXTRACT_CMD?= ${LHA_CMD}
|
|
EXTRACT_BEFORE_ARGS?= xfpw=${WRKDIR}
|
|
EXTRACT_AFTER_ARGS?=
|
|
|
|
.endif
|