summaryrefslogtreecommitdiffstats
path: root/www/mod_gzip
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-16 19:08:45 +0000
committerwill <will@FreeBSD.org>2001-01-16 19:08:45 +0000
commit0ba80656c8f4ec632e9e9d3b55fd409f55e82e44 (patch)
treeee9c734648511f29b2fdf00fe2cff8669c3c4831 /www/mod_gzip
parenta5ba41bacad7192081dab6463f8d9602893579d0 (diff)
downloadFreeBSD-ports-0ba80656c8f4ec632e9e9d3b55fd409f55e82e44.zip
FreeBSD-ports-0ba80656c8f4ec632e9e9d3b55fd409f55e82e44.tar.gz
Update to sync with bsd.port.mk rev 1.361 - use PORTDOCS that is now in
bsd.port.mk, for easy removal of documentation. I left alone one port - japanese/elisa8x8 (or something like that), because it appeared to have some rather weird way of doing PORTDOCS substitution.
Diffstat (limited to 'www/mod_gzip')
-rw-r--r--www/mod_gzip/Makefile8
-rw-r--r--www/mod_gzip/pkg-plist4
2 files changed, 3 insertions, 9 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>
diff --git a/www/mod_gzip/pkg-plist b/www/mod_gzip/pkg-plist
index b84062d..bc2ee37 100644
--- a/www/mod_gzip/pkg-plist
+++ b/www/mod_gzip/pkg-plist
@@ -1,5 +1,5 @@
libexec/apache/mod_gzip.so
-%%DOC%%share/doc/mod_gzip/readme.txt
-%%DOC%%@dirrm share/doc/mod_gzip
+%%PORTDOCS%%share/doc/mod_gzip/readme.txt
+%%PORTDOCS%%@dirrm share/doc/mod_gzip
@exec ${PKG_PREFIX}/sbin/apxs -e -A -n gzip mod_gzip.so; echo " enable the mod_gzip in Apache's config manually"
@unexec ${PKG_PREFIX}/sbin/apxs -e -A -n gzip mod_gzip.so || echo " remove the mod_gzip from Apache's config manually"
OpenPOWER on IntegriCloud