aboutsummaryrefslogtreecommitdiffstats
path: root/net/geoipupdate
diff options
context:
space:
mode:
Diffstat (limited to 'net/geoipupdate')
-rw-r--r--net/geoipupdate/Makefile9
-rw-r--r--net/geoipupdate/distinfo5
-rw-r--r--net/geoipupdate/pkg-plist5
3 files changed, 14 insertions, 5 deletions
diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile
index 97aaa9d151a9..1e2cdda3c679 100644
--- a/net/geoipupdate/Makefile
+++ b/net/geoipupdate/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= geoipupdate
-PORTVERSION= 2.2.2
-PORTREVISION= 1
+PORTVERSION= 2.3.1
DISTVERSIONPREFIX= v
CATEGORIES= net geography
@@ -20,4 +19,10 @@ GH_ACCOUNT= maxmind
USES= libtool localbase pathfix autoreconf
GNU_CONFIGURE= yes
+OPTIONS_DEFINE= DOCS
+
+post-install:
+ ${MV} ${STAGEDIR}${DOCSDIR}/GeoIP.conf.default \
+ ${STAGEDIR}${PREFIX}/etc/GeoIP.conf.sample
+
.include <bsd.port.mk>
diff --git a/net/geoipupdate/distinfo b/net/geoipupdate/distinfo
index 68491693173e..ea14320f4b3e 100644
--- a/net/geoipupdate/distinfo
+++ b/net/geoipupdate/distinfo
@@ -1,2 +1,3 @@
-SHA256 (maxmind-geoipupdate-v2.2.2_GH0.tar.gz) = e2eb95f471b1c8f590361aefe52afd28a04560147d3e2970e17889a5ce2b5746
-SIZE (maxmind-geoipupdate-v2.2.2_GH0.tar.gz) = 33596
+TIMESTAMP = 1483625432
+SHA256 (maxmind-geoipupdate-v2.3.1_GH0.tar.gz) = 581f3783cdd1bdc68f13507e7e7515f8e98c687ae5390a753f9415777a047a4e
+SIZE (maxmind-geoipupdate-v2.3.1_GH0.tar.gz) = 34627
diff --git a/net/geoipupdate/pkg-plist b/net/geoipupdate/pkg-plist
index 48c2134960ee..83bed632b1cb 100644
--- a/net/geoipupdate/pkg-plist
+++ b/net/geoipupdate/pkg-plist
@@ -1,4 +1,7 @@
bin/geoipupdate
-@sample etc/GeoIP.conf.default etc/GeoIP.conf
+@sample etc/GeoIP.conf.sample
man/man1/geoipupdate.1.gz
man/man5/GeoIP.conf.5.gz
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.md
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README.md