Stage support
This commit is contained in:
parent
3e118a2f87
commit
b80ea0dc05
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342227
1 changed files with 4 additions and 7 deletions
|
@ -20,13 +20,10 @@ USE_GNOME= glib20 libxml2
|
|||
|
||||
PORTDOCS= AUTHORS COPYING ChangeLog README
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
${INSTALL_DATA} -p ${WRKSRC}/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue