- Support STAGEDIR
PR: ports/183966 Submitted by: Alan Hicks <ahicks@p-o.co.uk> (maintainer)
This commit is contained in:
parent
767a9cc54a
commit
00bb7aa0b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333850
@ -35,7 +35,6 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@ -45,9 +44,9 @@ post-patch:
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in docs/reference/html/*
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user