From 22e73a5770220f335bd10deaa4c447f906db9202 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 12 Nov 2013 21:35:45 +0000 Subject: [PATCH] Add stage support by cheating with MAKE_ARGS and PREFIX which is only used during install phase Approved by: adrian (maintainer, implicit) --- sysutils/mkfwimage/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sysutils/mkfwimage/Makefile b/sysutils/mkfwimage/Makefile index 1a0dead7f761..933b6bfc1290 100644 --- a/sysutils/mkfwimage/Makefile +++ b/sysutils/mkfwimage/Makefile @@ -11,7 +11,10 @@ DISTNAME= ubnt-${PORTNAME}-${DISTVERSION} MAINTAINER= adrian@FreeBSD.org COMMENT= Ubiquiti Embedded Board Image Generator +MAKE_ARGS+= PREFIX=${STAGEDIR}${PREFIX} PLIST_FILES= bin/mkfwimage -NO_STAGE= yes +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mkfwimage + .include