aboutsummaryrefslogblamecommitdiff
path: root/Mk/Uses/lha.mk
blob: 04dcf8d474c27f50939b67664cda3f7ee0e6ca07 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                  
                      
                                                               
        
 
                                         
                                  
                                              


                    
# 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