aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2008-03-17 14:50:02 +0800
committermm <mm@FreeBSD.org>2008-03-17 14:50:02 +0800
commit5edb45c9021b3ea0d293eb08a6de8e0b5186cc34 (patch)
treeba33b18c0070454311c7927714f1ecdb1b788a5a
parent59b1c822405a8c003b18ef969ec2de7ba9ea2182 (diff)
downloadfreebsd-ports-gnome-5edb45c9021b3ea0d293eb08a6de8e0b5186cc34.tar.gz
freebsd-ports-gnome-5edb45c9021b3ea0d293eb08a6de8e0b5186cc34.tar.zst
freebsd-ports-gnome-5edb45c9021b3ea0d293eb08a6de8e0b5186cc34.zip
- update to 1.2.1
- depend on GeoIP 1.4.4 - use bsd.apache.mk infrastructure (build, install, plist) - support apache 2.0 and above PR: ports/121728 Submitted by: mm Approved by: Jukka A. Ukkonen <jau@iki.fi> (maintainer)
-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