aboutsummaryrefslogtreecommitdiff
path: root/www/mod_gzip2/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-16 19:08:45 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-16 19:08:45 +0000
commit5ccbc2a8acb7f736ee65382f5bf4c48c35167f55 (patch)
tree4ea8a3247c3032b7171664c4a7f0bf5e871c3cba /www/mod_gzip2/Makefile
parent17e1f4bf71fcdd4743e5ee4f9b83461381dfda83 (diff)
downloadports-5ccbc2a8acb7f736ee65382f5bf4c48c35167f55.tar.gz
ports-5ccbc2a8acb7f736ee65382f5bf4c48c35167f55.zip
Notes
Diffstat (limited to 'www/mod_gzip2/Makefile')
-rw-r--r--www/mod_gzip2/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/www/mod_gzip2/Makefile b/www/mod_gzip2/Makefile
index 2233bc240d97..8c4b9b174a7b 100644
--- a/www/mod_gzip2/Makefile
+++ b/www/mod_gzip2/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>