summaryrefslogtreecommitdiffstats
path: root/www/mod_geoip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_geoip/Makefile')
-rw-r--r--www/mod_geoip/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/mod_geoip/Makefile b/www/mod_geoip/Makefile
index dc6416b..e2f2824 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
OpenPOWER on IntegriCloud