2014-03-12 10:17:06 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# handle lha archives
|
|
|
|
#
|
|
|
|
# Feature: lha
|
|
|
|
# Usage: USES=lha
|
|
|
|
#
|
|
|
|
.if !defined(_INCLUDE_USES_LHA_Mk)
|
|
|
|
_INCLUDE_USES_LHA_MK= yes
|
|
|
|
|
|
|
|
EXTRACT_SUFX?= .lzh
|
|
|
|
|
2014-09-28 18:36:31 +02:00
|
|
|
.if !empty(lha_ARGS)
|
2014-03-12 10:17:06 +01:00
|
|
|
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
|