diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_gzip/Makefile | 4 | ||||
-rw-r--r-- | www/mod_gzip2/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/www/mod_gzip/Makefile b/www/mod_gzip/Makefile index 801fb22c8a77..cfc1aa7b34a7 100644 --- a/www/mod_gzip/Makefile +++ b/www/mod_gzip/Makefile @@ -32,10 +32,10 @@ do-build: do-install: cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so -post-install: .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} - @${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \ + @cd ${_DISTDIR} && ${INSTALL_DATA} ${DISTFILES:N*gz} \ ${PREFIX}/share/doc/${PORTNAME} .endif diff --git a/www/mod_gzip2/Makefile b/www/mod_gzip2/Makefile index 801fb22c8a77..cfc1aa7b34a7 100644 --- a/www/mod_gzip2/Makefile +++ b/www/mod_gzip2/Makefile @@ -32,10 +32,10 @@ do-build: do-install: cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so -post-install: .if !defined(NOPORTDOCS) +post-install: @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} - @${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \ + @cd ${_DISTDIR} && ${INSTALL_DATA} ${DISTFILES:N*gz} \ ${PREFIX}/share/doc/${PORTNAME} .endif |