aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-07-23 10:00:35 +0800
committerdelphij <delphij@FreeBSD.org>2008-07-23 10:00:35 +0800
commit3a153344c645e388e56d4b50e9f7b360ffb6edde (patch)
treed6d091d076da1f6b300836cd8e04455339ba7fde /www
parenteab3cfe0999ecffaf4136144b1394fc26b809134 (diff)
downloadfreebsd-ports-gnome-3a153344c645e388e56d4b50e9f7b360ffb6edde.tar.gz
freebsd-ports-gnome-3a153344c645e388e56d4b50e9f7b360ffb6edde.tar.zst
freebsd-ports-gnome-3a153344c645e388e56d4b50e9f7b360ffb6edde.zip
Unbreak by fixing the generation of plist.
Pointy hat to: delphij
Diffstat (limited to 'www')
-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