Convert to STAGEDIR

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

View file

@ -24,13 +24,12 @@ OPTIONS_DEFINE= DOCS
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= README.txt
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>