aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_geoip2
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-07-04 10:07:35 +0800
committerdanilo <danilo@FreeBSD.org>2014-07-04 10:07:35 +0800
commit72e5a161e1a98e17d5376e3909451fdd8c937430 (patch)
treeb98cf45dd8156d18db5f86d28cd2376ba982bab8 /www/mod_geoip2
parent9439e5225129d29d283cc47286223f973063ae61 (diff)
downloadfreebsd-ports-gnome-72e5a161e1a98e17d5376e3909451fdd8c937430.tar.gz
freebsd-ports-gnome-72e5a161e1a98e17d5376e3909451fdd8c937430.tar.zst
freebsd-ports-gnome-72e5a161e1a98e17d5376e3909451fdd8c937430.zip
- Update from 1.2.8 to 1.2.9
PR: ports/191553 Submitted by: jau789@gmail.com
Diffstat (limited to 'www/mod_geoip2')
-rw-r--r--www/mod_geoip2/Makefile15
-rw-r--r--www/mod_geoip2/distinfo4
2 files changed, 10 insertions, 9 deletions
diff --git a/www/mod_geoip2/Makefile b/www/mod_geoip2/Makefile
index 5f05bbc24303..4892c467a369 100644
--- a/www/mod_geoip2/Makefile
+++ b/www/mod_geoip2/Makefile
@@ -2,10 +2,11 @@
# $FreeBSD$
PORTNAME= mod_geoip2
-PORTVERSION= 1.2.8
+PORTVERSION= 1.2.9
CATEGORIES= www geography
-MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/mod_geoip2/
-DISTNAME= ${PORTNAME}_${PORTVERSION}
+MASTER_SITES= https://github.com/maxmind/geoip-api-mod_geoip2/archive/
+DISTNAME= ${PORTVERSION}
+DIST_SUBDIR= mod_geoip2
MAINTAINER= jau@iki.fi
COMMENT= Apache module that provides the country code of the client IP
@@ -15,8 +16,6 @@ LICENSE= APACHE20
BUILD_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
RUN_DEPENDS= GeoIP>=1.4.4:${PORTSDIR}/net/GeoIP
-WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
-
USE_APACHE= 22
MODULENAME= mod_geoip
AP_FAST_BUILD= yes
@@ -24,11 +23,13 @@ AP_GENPLIST= yes
AP_INC+= ${LOCALBASE}/include
AP_LIB+= ${LOCALBASE}/lib -lGeoIP
+WRKSRC= ${WRKDIR}/geoip-api-${PORTNAME}-${PORTVERSION}
+
SUB_FILES+= pkg-message
-PORTDOCS= Changes INSTALL README README.php
+PORTDOCS= Changes INSTALL README.md README.php
post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/www/mod_geoip2/distinfo b/www/mod_geoip2/distinfo
index fe11ecc06b9c..866568f99b29 100644
--- a/www/mod_geoip2/distinfo
+++ b/www/mod_geoip2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mod_geoip2_1.2.8.tar.gz) = 88b0db740c55ef520ea89e5604fc25dfb4a62bf467c80e24d7826d426d0c207a
-SIZE (mod_geoip2_1.2.8.tar.gz) = 14493
+SHA256 (mod_geoip2/1.2.9.tar.gz) = 284138687232334326bfe3c6ff7db2f1a747693f19f6eba9de1e75c896f05d8a
+SIZE (mod_geoip2/1.2.9.tar.gz) = 14250