aboutsummaryrefslogtreecommitdiff
path: root/misc/p5-Geo-Address-Formatter
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-07-27 14:01:31 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-07-27 14:01:31 +0000
commitb17642e45885cfc8f7b0a57e95fe375f9198a9aa (patch)
treea6c58ca2c4fd65e65cf14cd7eb87ef26d7b6e275 /misc/p5-Geo-Address-Formatter
parentdbe005f96074f50fa699afb992f4aac6757ccd47 (diff)
downloadports-b17642e45885cfc8f7b0a57e95fe375f9198a9aa.tar.gz
ports-b17642e45885cfc8f7b0a57e95fe375f9198a9aa.zip
Add p5-Geo-Address-Formatter 1.77
Geo::Address::Formatter takes structured address data and formats it according to the various global/country rules. If you have a structured postal address (hash) and need to convert it into a readable address based on the format of the address country, it gets more complicated with 200+ countries and territories and dozens more address components to consider. WWW: https://metacpan.org/release/Geo-Address-Formatter
Notes
Notes: svn path=/head/; revision=507451
Diffstat (limited to 'misc/p5-Geo-Address-Formatter')
-rw-r--r--misc/p5-Geo-Address-Formatter/Makefile33
-rw-r--r--misc/p5-Geo-Address-Formatter/distinfo3
-rw-r--r--misc/p5-Geo-Address-Formatter/pkg-descr9
-rw-r--r--misc/p5-Geo-Address-Formatter/pkg-plist2
4 files changed, 47 insertions, 0 deletions
diff --git a/misc/p5-Geo-Address-Formatter/Makefile b/misc/p5-Geo-Address-Formatter/Makefile
new file mode 100644
index 000000000000..0ac5328c8490
--- /dev/null
+++ b/misc/p5-Geo-Address-Formatter/Makefile
@@ -0,0 +1,33 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Geo-Address-Formatter
+PORTVERSION= 1.77
+CATEGORIES= misc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Take structured address data and format it according to the various global/country rules
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Clone>=0:devel/p5-Clone \
+ p5-File-Find-Rule>=0:devel/p5-File-Find-Rule \
+ p5-File-Slurper>=0:devel/p5-File-Slurper \
+ p5-Text-Hogan>=2.01:textproc/p5-Text-Hogan \
+ p5-Text-Trim>=1.02:textproc/p5-Text-Trim \
+ p5-Try-Catch>=0:lang/p5-Try-Catch \
+ p5-YAML-LibYAML>=0.75:textproc/p5-YAML-LibYAML
+TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception \
+ p5-Test-Warn>=0:devel/p5-Test-Warn
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/p5-Geo-Address-Formatter/distinfo b/misc/p5-Geo-Address-Formatter/distinfo
new file mode 100644
index 000000000000..76c9794d0727
--- /dev/null
+++ b/misc/p5-Geo-Address-Formatter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1564229302
+SHA256 (Geo-Address-Formatter-1.77.tar.gz) = d87dad01fe88ca6675345c31ed473dba89cdb9dc101f1d452987ee24e5ee434e
+SIZE (Geo-Address-Formatter-1.77.tar.gz) = 105090
diff --git a/misc/p5-Geo-Address-Formatter/pkg-descr b/misc/p5-Geo-Address-Formatter/pkg-descr
new file mode 100644
index 000000000000..d15750508a63
--- /dev/null
+++ b/misc/p5-Geo-Address-Formatter/pkg-descr
@@ -0,0 +1,9 @@
+Geo::Address::Formatter takes structured address data and formats it according
+to the various global/country rules.
+
+If you have a structured postal address (hash) and need to convert it into a
+readable address based on the format of the address country, it gets more
+complicated with 200+ countries and territories and dozens more address
+components to consider.
+
+WWW: https://metacpan.org/release/Geo-Address-Formatter
diff --git a/misc/p5-Geo-Address-Formatter/pkg-plist b/misc/p5-Geo-Address-Formatter/pkg-plist
new file mode 100644
index 000000000000..054b1f715e4e
--- /dev/null
+++ b/misc/p5-Geo-Address-Formatter/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Geo/Address/Formatter.pm
+%%PERL5_MAN3%%/Geo::Address::Formatter.3.gz