Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 21:35:45 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333624 - head/sysutils/mkfwimage
Message-ID:  <201311122135.rACLZj0C017204@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Nov 12 21:35:45 2013
New Revision: 333624
URL: http://svnweb.freebsd.org/changeset/ports/333624

Log:
  Add stage support by cheating with MAKE_ARGS and PREFIX which is only used during install phase
  
  Approved by:	adrian (maintainer, implicit)

Modified:
  head/sysutils/mkfwimage/Makefile

Modified: head/sysutils/mkfwimage/Makefile
==============================================================================
--- head/sysutils/mkfwimage/Makefile	Tue Nov 12 21:32:22 2013	(r333623)
+++ head/sysutils/mkfwimage/Makefile	Tue Nov 12 21:35:45 2013	(r333624)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311122135.rACLZj0C017204>