mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
Add stage support by cheating with MAKE_ARGS and PREFIX which is only used during install phase
Approved by: adrian (maintainer, implicit)
This commit is contained in:
parent
c659c62d1d
commit
22e73a5770
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333624
1 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue