aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-Build/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Module-Build/Makefile')
-rw-r--r--devel/p5-Module-Build/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile
index 6c4134b734ea..8b6d3f4a8f14 100644
--- a/devel/p5-Module-Build/Makefile
+++ b/devel/p5-Module-Build/Makefile
@@ -49,8 +49,8 @@ post-patch:
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif