aboutsummaryrefslogtreecommitdiff
path: root/www/mod_geoip
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-03-15 11:37:10 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-03-15 11:37:10 +0000
commit5a7463bb6e32717e7c5e9f0828b9c27afc609556 (patch)
tree995d204fa180c9be1c49cea420e8366442545b21 /www/mod_geoip
parent63d2349422ac1af9367755c7ffcd0d51e1cc0a24 (diff)
downloadports-5a7463bb6e32717e7c5e9f0828b9c27afc609556.tar.gz
ports-5a7463bb6e32717e7c5e9f0828b9c27afc609556.zip
Notes
Diffstat (limited to 'www/mod_geoip')
-rw-r--r--www/mod_geoip/Makefile14
-rw-r--r--www/mod_geoip/distinfo6
-rw-r--r--www/mod_geoip/pkg-plist3
3 files changed, 9 insertions, 14 deletions
diff --git a/www/mod_geoip/Makefile b/www/mod_geoip/Makefile
index 16fd14c2e379..73a2c9658b62 100644
--- a/www/mod_geoip/Makefile
+++ b/www/mod_geoip/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mod_geoip
-PORTVERSION= 1.2.9
+PORTVERSION= 1.3.0
CATEGORIES= www geography
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -14,20 +14,18 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An Apache module that provides the country code of the client's IP
-LIB_DEPENDS= GeoIP.5:${PORTSDIR}/net/GeoIP
+BUILD_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
+RUN_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
USE_APACHE= 1.3
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
.include <bsd.port.pre.mk>
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}/mod_geoip.so
+post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/mod_geoip
.for f in ${PORTDOCS}
diff --git a/www/mod_geoip/distinfo b/www/mod_geoip/distinfo
index 5969738cb13d..1b39326c8f58 100644
--- a/www/mod_geoip/distinfo
+++ b/www/mod_geoip/distinfo
@@ -1,3 +1,3 @@
-MD5 (mod_geoip_1.2.9.tar.gz) = fe2d6089a8bf124f05ea9a1b736175a7
-SHA256 (mod_geoip_1.2.9.tar.gz) = 24f44354cd73797e7ef3be31016ea749fef5f5e34f87f322ce1f2a76f07be4a3
-SIZE (mod_geoip_1.2.9.tar.gz) = 8893
+MD5 (mod_geoip_1.3.0.tar.gz) = d82837d90557c6d11b1cc2bd42d6aebd
+SHA256 (mod_geoip_1.3.0.tar.gz) = 891d9cab8af89b33709cf4c4fd062d1a8eca336735e212263770ea52f5e84d46
+SIZE (mod_geoip_1.3.0.tar.gz) = 10485
diff --git a/www/mod_geoip/pkg-plist b/www/mod_geoip/pkg-plist
deleted file mode 100644
index e921ebb48e58..000000000000
--- a/www/mod_geoip/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-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