mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
5d33e04596
Where appropriate fiddle with a few other things.
21 lines
371 B
Makefile
21 lines
371 B
Makefile
# handle lha archives
|
|
#
|
|
# Feature: lha
|
|
# Usage: USES=lha
|
|
#
|
|
.if !defined(_INCLUDE_USES_LHA_Mk)
|
|
_INCLUDE_USES_LHA_MK= yes
|
|
|
|
EXTRACT_SUFX?= .lzh
|
|
|
|
.if !empty(lha_ARGS)
|
|
IGNORE= Incorrect 'USES+=lha:${lha_ARGS}' expecting 'USES+=lha'
|
|
.endif
|
|
|
|
EXTRACT_DEPENDS+= lha:archivers/lha
|
|
EXTRACT_CMD?= ${LHA_CMD}
|
|
EXTRACT_BEFORE_ARGS?= xfpw=${EXTRACT_WRKDIR}
|
|
EXTRACT_AFTER_ARGS?=
|
|
|
|
.endif
|