summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-ip2location-perl/Makefile21
-rw-r--r--net/p5-ip2location-perl/distinfo3
-rw-r--r--net/p5-ip2location-perl/pkg-descr6
-rw-r--r--net/p5-ip2location-perl/pkg-plist2
5 files changed, 33 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 4fc08c8600d6..985287058518 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -902,6 +902,7 @@
SUBDIR += p5-XPC
SUBDIR += p5-ZMQ-FFI
SUBDIR += p5-ZeroMQ
+ SUBDIR += p5-ip2location-perl
SUBDIR += p5-ldap2pf
SUBDIR += p5-ldap2pw
SUBDIR += p5-perl-ldap
diff --git a/net/p5-ip2location-perl/Makefile b/net/p5-ip2location-perl/Makefile
new file mode 100644
index 000000000000..109fbc7b4122
--- /dev/null
+++ b/net/p5-ip2location-perl/Makefile
@@ -0,0 +1,21 @@
+# Created by: Ryan Steinmetz <zi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ip2location-perl
+PORTVERSION= 20180302
+CATEGORIES= net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= zi@FreeBSD.org
+COMMENT= Perl module to find user\'s location
+
+LICENSE= LGPL3
+
+USES= perl5
+USE_PERL5= configure
+
+USE_GITHUB= yes
+GH_ACCOUNT= ip2location
+GH_TAGNAME= 760fa40
+
+.include <bsd.port.mk>
diff --git a/net/p5-ip2location-perl/distinfo b/net/p5-ip2location-perl/distinfo
new file mode 100644
index 000000000000..6a0ebaabc42b
--- /dev/null
+++ b/net/p5-ip2location-perl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1552488712
+SHA256 (ip2location-ip2location-perl-20180302-760fa40_GH0.tar.gz) = 14784a8ced9c73aca80591cf8cf67010454e3c957872e4d8154d568e437dcbcc
+SIZE (ip2location-ip2location-perl-20180302-760fa40_GH0.tar.gz) = 479499
diff --git a/net/p5-ip2location-perl/pkg-descr b/net/p5-ip2location-perl/pkg-descr
new file mode 100644
index 000000000000..b192372cb8b0
--- /dev/null
+++ b/net/p5-ip2location-perl/pkg-descr
@@ -0,0 +1,6 @@
+IP2Location is a perl module that enables the user to find the country, region,
+city, latitude, longitude, zip code, time zone, ISP, domain name, connection
+type, area code, weather, mobile network, elevation, usage type by IP address
+or hostname originates from.
+
+WWW: https://www.ip2location.com/development-libraries/ip2location/perl
diff --git a/net/p5-ip2location-perl/pkg-plist b/net/p5-ip2location-perl/pkg-plist
new file mode 100644
index 000000000000..ac52de926337
--- /dev/null
+++ b/net/p5-ip2location-perl/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Geo/IP2Location.pm
+%%PERL5_MAN3%%/Geo::IP2Location.3.gz