- Add stage support
This commit is contained in:
parent
4dbaaa73df
commit
052fa47b15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333462
1 changed files with 3 additions and 8 deletions
|
@ -19,14 +19,9 @@ MAKE_ARGS= FLAGS="${CFLAGS}"
|
|||
PORTDOCS= README
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} README ${DOCSDIR})
|
||||
.endif
|
||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin)
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue