summaryrefslogtreecommitdiff
path: root/www/mod_gzip
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-05-08 15:39:47 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-05-08 15:39:47 +0000
commit86721fb4e80e104ab11742e6694b0414edace454 (patch)
tree2ab44d2877324b2fb9c89fd9921eb39af04a7cfd /www/mod_gzip
parentThe distfiles themselves don't have any version information in their names. (diff)
Fix the post-install target now that there is more than
one text file to install.
Notes
Notes: svn path=/head/; revision=42414
Diffstat (limited to 'www/mod_gzip')
-rw-r--r--www/mod_gzip/Makefile4
1 files changed, 2 insertions, 2 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