summaryrefslogtreecommitdiff
path: root/Mk/Uses/makeself.mk
blob: 34139c6a30e10ef42aadf69ba2d57738da330dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $FreeBSD$
#
# handle makeself archives
#
# Feature:	makeself
# Usage:	USES=makeself
#
# MAINTAINER: portmgr@FreeBSD.org

.if !defined(_INCLUDE_USES_MAKESELF_Mk)
_INCLUDE_USES_MAKESELF_MK=	yes

.if !empty(makeself_ARGS)
IGNORE=	Incorrect 'USES+= makeself:${makeself_ARGS}' makeself takes no arguments
.endif

EXTRACT_DEPENDS+=	${UNMAKESELF_CMD}:archivers/unmakeself

EXTRACT_CMD=	${UNMAKESELF_CMD}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=

.endif