summaryrefslogtreecommitdiffstats
path: root/www/mod_gzip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_gzip/Makefile')
-rw-r--r--www/mod_gzip/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/www/mod_gzip/Makefile b/www/mod_gzip/Makefile
index 2233bc2..8c4b9b1 100644
--- a/www/mod_gzip/Makefile
+++ b/www/mod_gzip/Makefile
@@ -28,17 +28,11 @@ do-build:
do-install:
cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so
-.if !defined(NOPORTDOCS)
-DISTFILES+= readme.txt
-PLIST_SUB+= DOC=''
-
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
@${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \
${PREFIX}/share/doc/${PORTNAME}
-
-.else
-PLIST_SUB+= DOC='@comment '
.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud