freebsd-ports/Mk/Uses/zip.mk
Gerald Pfeifer 5b4f2ad658 Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
2014-03-15 10:31:54 +00:00

26 lines
507 B
Makefile

# $FreeBSD$
#
# handle zip archives
#
# Feature: zip
# Usage: USES=zip[:infozip]
#
# MAINTAINER: portmgr@FreeBSD.org
.if !defined(_INCLUDE_USES_ZIP_Mk)
_INCLUDE_USES_ZIP_MK= yes
zip_ARGS?= none
EXTRACT_SUFX?= .zip
.if ${zip_ARGS} == infozip
EXTRACT_DEPENDS+= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip
EXTRACT_CMD?= ${UNZIP_CMD}
EXTRACT_BEFORE_ARGS?= -qo
EXTRACT_AFTER_ARGS?= -d ${WRKDIR}
.elif ${zip_ARGS} != none
IGNORE= Incorrect 'USES+=zip:${zip_ARGS}' expecting 'USES+=zip[:infozip]'
.endif
.endif