aboutsummaryrefslogtreecommitdiff
path: root/www/mod_gzip2
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2008-07-23 02:00:35 +0000
committerXin LI <delphij@FreeBSD.org>2008-07-23 02:00:35 +0000
commitcc83cc21b551febe08d802fe82192251fb176a0a (patch)
tree8c30a9619cd2937fb53b8800498c358d7ac2e5f5 /www/mod_gzip2
parent7528983ba11141178bc50c18a6d9c0e0f35356ad (diff)
downloadports-cc83cc21b551febe08d802fe82192251fb176a0a.tar.gz
ports-cc83cc21b551febe08d802fe82192251fb176a0a.zip
Notes
Diffstat (limited to 'www/mod_gzip2')
-rw-r--r--www/mod_gzip2/Makefile11
-rw-r--r--www/mod_gzip2/pkg-plist5
2 files changed, 9 insertions, 7 deletions
diff --git a/www/mod_gzip2/Makefile b/www/mod_gzip2/Makefile
index 5844e80fd8f8..7221d9b6fdc6 100644
--- a/www/mod_gzip2/Makefile
+++ b/www/mod_gzip2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_gzip2
PORTVERSION= 2.1.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.gknw.net/development/apache/httpd-2.0/unix/modules/
DISTNAME= mod_gzip-${PORTVERSION}
@@ -14,14 +15,20 @@ DISTNAME= mod_gzip-${PORTVERSION}
MAINTAINER= sec@42.org
COMMENT= An Internet Content Acceleration module for Apache2+
-BROKEN= bad plist
-
USE_APACHE= 2.0+
AP_FAST_BUILD= yes
AP_GENPLIST= yes
MAKE_ENV+= "APXS=${APXS}"
USE_GMAKE= yes
+.if !defined(NOPORTDOCS)
+PLIST_FILES= ${DOCSDIR:S/${PREFIX}\///}/commands.txt
+PLIST_FILES+= ${DOCSDIR:S/${PREFIX}\///}/samples.txt
+PLIST_DIRS= ${DOCSDIR:S/${PREFIX}\///}
+.endif
+PLIST_FILES+= share/examples/mod_gzip2/mod_gzip2.conf.sample
+PLIST_DIRS+= share/examples/mod_gzip2
+
post-patch:
@${MV} ${WRKSRC}/mod_gzip.c ${WRKSRC}/${PORTNAME}.c
diff --git a/www/mod_gzip2/pkg-plist b/www/mod_gzip2/pkg-plist
deleted file mode 100644
index cf2612e4994f..000000000000
--- a/www/mod_gzip2/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-%%PORTDOCS%%share/doc/mod_gzip2/commands.txt
-%%PORTDOCS%%share/doc/mod_gzip2/samples.txt
-share/examples/mod_gzip2/mod_gzip2.conf.sample
-@dirrm share/examples/mod_gzip2
-%%PORTDOCS%%@dirrm share/doc/mod_gzip2