mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
aa25396790
Run Tools/scripts/indent_make_if.pl on all of Mk. These white space changes contribute greatly to the readability of those files. As we have a version control system, finding out the reasons for the changes prior to these white space changes is still easily possible Differential Revision: https://reviews.freebsd.org/D35024 Reviewed by: portmgr (rene, bapt)
26 lines
518 B
Makefile
26 lines
518 B
Makefile
# handle zip archives
|
|
#
|
|
# Feature: zip
|
|
# Usage: USES=zip[:infozip]
|
|
#
|
|
# MAINTAINER: ports@FreeBSD.org
|
|
|
|
.if !defined(_INCLUDE_USES_ZIP_MK)
|
|
_INCLUDE_USES_ZIP_MK= yes
|
|
|
|
EXTRACT_SUFX?= .zip
|
|
|
|
EXTRACT_BEFORE_ARGS?= -qo
|
|
EXTRACT_AFTER_ARGS?= -d ${EXTRACT_WRKDIR}
|
|
|
|
. if empty(zip_ARGS)
|
|
EXTRACT_CMD?= ${UNZIP_NATIVE_CMD}
|
|
. elif ${zip_ARGS} == "infozip"
|
|
EXTRACT_DEPENDS+= ${UNZIP_CMD}:archivers/unzip
|
|
EXTRACT_CMD?= ${UNZIP_CMD}
|
|
. else
|
|
IGNORE= Incorrect 'USES+=zip:${zip_ARGS}' expecting 'USES+=zip[:infozip]'
|
|
. endif
|
|
|
|
.endif
|