Convert to STAGEDIR

This commit is contained in:
Antoine Brodin 2013-09-29 20:04:00 +00:00
parent 1ebe479285
commit 7c6eb4d5d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328727

View file

@ -25,13 +25,12 @@ PORTDOCS= README.txt
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>