summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-11-12 21:35:45 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-11-12 21:35:45 +0000
commit22e73a5770220f335bd10deaa4c447f906db9202 (patch)
tree44f5454953458b4ccc6001deda6b1d9f7c33a770 /sysutils
parentFix eel2 lib_depend line. (diff)
Add stage support by cheating with MAKE_ARGS and PREFIX which is only used during install phase
Approved by: adrian (maintainer, implicit)
Notes
Notes: svn path=/head/; revision=333624
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mkfwimage/Makefile5
1 files changed, 4 insertions, 1 deletions
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 <bsd.port.mk>