aboutsummaryrefslogtreecommitdiff
path: root/www/mod_geoip2
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-03-17 06:50:02 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-03-17 06:50:02 +0000
commit38b795bf2886b584ca99e7cdfd812270f287d99a (patch)
tree11b1447ce24b87644faab77b10a5593d831c203c /www/mod_geoip2
parent708860990dc89497d6c3d2540b455651eff7f6b1 (diff)
downloadports-38b795bf2886b584ca99e7cdfd812270f287d99a.tar.gz
ports-38b795bf2886b584ca99e7cdfd812270f287d99a.zip
Notes
Diffstat (limited to 'www/mod_geoip2')
-rw-r--r--www/mod_geoip2/Makefile21
-rw-r--r--www/mod_geoip2/distinfo6
-rw-r--r--www/mod_geoip2/pkg-plist3
3 files changed, 12 insertions, 18 deletions
diff --git a/www/mod_geoip2/Makefile b/www/mod_geoip2/Makefile
index bf1de6959d8d..41800c10bb78 100644
--- a/www/mod_geoip2/Makefile
+++ b/www/mod_geoip2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mod_geoip2
-PORTVERSION= 1.2.0
+PORTVERSION= 1.2.1
CATEGORIES= www geography
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip2/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -14,23 +14,20 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= jau@iki.fi
COMMENT= An Apache module that provides the country code of the client's IP
-BUILD_DEPENDS= GeoIP>=1.4.3:${PORTSDIR}/net/GeoIP
-RUN_DEPENDS= GeoIP>=1.4.3:${PORTSDIR}/net/GeoIP
+BUILD_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
+RUN_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
CONFLICTS= mod_geoip-[0-9]*
-USE_APACHE= yes
-WITH_APACHE2= yes
+USE_APACHE= 2.0+
+MODULENAME= mod_geoip
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
-SUB_FILES= pkg-message
+SUB_FILES+= pkg-message
PORTDOCS= Changes INSTALL README README.php
-do-build:
- @cd ${WRKSRC} && \
- ${APXS} -c -L${LOCALBASE}/lib -I${LOCALBASE}/include -lGeoIP mod_geoip.c
-
-do-install:
- ${APXS} -i -A -n geoip ${WRKSRC}/.libs/mod_geoip.so
+post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
diff --git a/www/mod_geoip2/distinfo b/www/mod_geoip2/distinfo
index 1ceb548d3820..e93090d59515 100644
--- a/www/mod_geoip2/distinfo
+++ b/www/mod_geoip2/distinfo
@@ -1,3 +1,3 @@
-MD5 (mod_geoip2_1.2.0.tar.gz) = 890f514e817e15d148c7becf8da9781b
-SHA256 (mod_geoip2_1.2.0.tar.gz) = a7b2ba74f9be65dbe9a7a88298e609828610723e176512c2ed87e47e87e5b43b
-SIZE (mod_geoip2_1.2.0.tar.gz) = 8543
+MD5 (mod_geoip2_1.2.1.tar.gz) = b4638570d9d38b9e720cf993c90d5c62
+SHA256 (mod_geoip2_1.2.1.tar.gz) = 55292d29dbcb9eaf5b279b89186a52971f8b569154675203df676f7b8d1b8cab
+SIZE (mod_geoip2_1.2.1.tar.gz) = 10258
diff --git a/www/mod_geoip2/pkg-plist b/www/mod_geoip2/pkg-plist
deleted file mode 100644
index ac397fa53abf..000000000000
--- a/www/mod_geoip2/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-libexec/apache2/mod_geoip.so
-@exec %D/sbin/apxs -e -A -n geoip %D/%F
-@unexec %D/sbin/apxs -e -A -n geoip %D/%F