summaryrefslogtreecommitdiff
path: root/www/mod_geoip
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-05-30 07:19:41 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-05-30 07:19:41 +0000
commitcd62882342c743ed1371a3fbc1618195ddf2221c (patch)
tree0a1245f88ae203586be5312d2872f8e82b742c6d /www/mod_geoip
parentBROKEN for perl < 500600: Broken pkg-plist (diff)
- net/GeoIP uses its own libtool even if we define USE_LIBTOOL*
- add missing @exec and remove old SIZE in net/GeoIP - update for libGeoIP.4 in LIB_DEPENDS and bump PORTREVISION - utilize PORTDOCS in www/mod_geoip Noticed by: kris
Diffstat (limited to 'www/mod_geoip')
-rw-r--r--www/mod_geoip/Makefile7
-rw-r--r--www/mod_geoip/pkg-plist5
2 files changed, 4 insertions, 8 deletions
diff --git a/www/mod_geoip/Makefile b/www/mod_geoip/Makefile
index dc6416bd0f3d..e2f282443ad7 100644
--- a/www/mod_geoip/Makefile
+++ b/www/mod_geoip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_geoip
PORTVERSION= 1.2.2
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -14,13 +15,13 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= seanc@FreeBSD.org
COMMENT= An Apache module that provides the country code of the client's IP
-LIB_DEPENDS= GeoIP.3:${PORTSDIR}/net/GeoIP
+LIB_DEPENDS= GeoIP.4:${PORTSDIR}/net/GeoIP
USE_APACHE= yes
.include <bsd.port.pre.mk>
-DOCS= Changes INSTALL README README.php
+PORTDOCS= Changes INSTALL README README.php
do-build:
@cd ${WRKSRC} && \
@@ -30,7 +31,7 @@ do-install:
${APXS} -i -A -n geoip ${WRKSRC}/mod_geoip.so
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/mod_geoip
-.for f in ${DOCS}
+.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_geoip/
.endfor
.endif
diff --git a/www/mod_geoip/pkg-plist b/www/mod_geoip/pkg-plist
index 81499bdfedd7..e921ebb48e58 100644
--- a/www/mod_geoip/pkg-plist
+++ b/www/mod_geoip/pkg-plist
@@ -1,8 +1,3 @@
libexec/apache/mod_geoip.so
@exec %D/sbin/apxs -e -A -n geoip %D/%F
@unexec %D/sbin/apxs -e -A -n geoip %D/%F
-share/doc/mod_geoip/Changes
-share/doc/mod_geoip/INSTALL
-share/doc/mod_geoip/README
-share/doc/mod_geoip/README.php
-@dirrm share/doc/mod_geoip