diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-06-08 13:24:42 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-06-08 13:24:42 +0000 |
commit | c7662bf539996341489abe75798ca968031d0f70 (patch) | |
tree | 70e8f8a884d58509c447dc4977c0a9b4e44a12c7 /misc | |
parent | 6a51b3423beb936604df0d3c422f8a6f7133bd17 (diff) | |
download | ports-c7662bf539996341489abe75798ca968031d0f70.tar.gz ports-c7662bf539996341489abe75798ca968031d0f70.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/p5-Geo-Coder-OpenCage/Makefile | 37 | ||||
-rw-r--r-- | misc/p5-Geo-Coder-OpenCage/distinfo | 2 | ||||
-rw-r--r-- | misc/p5-Geo-Coder-OpenCage/pkg-descr | 3 | ||||
-rw-r--r-- | misc/p5-Geo-Coder-OpenCage/pkg-plist | 10 |
5 files changed, 53 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index a0ef4a1d8129..7d648083ac54 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -327,6 +327,7 @@ SUBDIR += p5-Geo-Coder-Multiple SUBDIR += p5-Geo-Coder-Navteq SUBDIR += p5-Geo-Coder-OSM + SUBDIR += p5-Geo-Coder-OpenCage SUBDIR += p5-Geo-Coder-Ovi SUBDIR += p5-Geo-Coder-PlaceFinder SUBDIR += p5-Geo-Coder-TomTom diff --git a/misc/p5-Geo-Coder-OpenCage/Makefile b/misc/p5-Geo-Coder-OpenCage/Makefile new file mode 100644 index 000000000000..be114727e4a9 --- /dev/null +++ b/misc/p5-Geo-Coder-OpenCage/Makefile @@ -0,0 +1,37 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Geo-Coder-OpenCage +PORTVERSION= 0.02 +CATEGORIES= misc geography perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:KAORU +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Geocode addresses with the OpenCage Geocoder API + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-JSON>=2.53:${PORTSDIR}/converters/p5-JSON \ + p5-URI>=1.60:${PORTSDIR}/net/p5-URI +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-Exception>=0.32:${PORTSDIR}/devel/p5-Test-Exception + +USE_PERL5= configure +USES= perl5 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501600 +BUILD_DEPENDS+= p5-Carp>=1.26:${PORTSDIR}/devel/p5-Carp +RUN_DEPENDS+= p5-Carp>=1.26:${PORTSDIR}/devel/p5-Carp +.endif + +.if ${PERL_LEVEL} < 502000 +BUILD_DEPENDS+= p5-HTTP-Tiny>=0.028:${PORTSDIR}/www/p5-HTTP-Tiny +RUN_DEPENDS+= p5-HTTP-Tiny>=0.028:${PORTSDIR}/www/p5-HTTP-Tiny +.endif + +.include <bsd.port.post.mk> diff --git a/misc/p5-Geo-Coder-OpenCage/distinfo b/misc/p5-Geo-Coder-OpenCage/distinfo new file mode 100644 index 000000000000..bb1d5608c50b --- /dev/null +++ b/misc/p5-Geo-Coder-OpenCage/distinfo @@ -0,0 +1,2 @@ +SHA256 (Geo-Coder-OpenCage-0.02.tar.gz) = 1511eb2b9693ddd9906ac56424f792d08e19355bad76443d31680987924b00ac +SIZE (Geo-Coder-OpenCage-0.02.tar.gz) = 10812 diff --git a/misc/p5-Geo-Coder-OpenCage/pkg-descr b/misc/p5-Geo-Coder-OpenCage/pkg-descr new file mode 100644 index 000000000000..183629d3aed5 --- /dev/null +++ b/misc/p5-Geo-Coder-OpenCage/pkg-descr @@ -0,0 +1,3 @@ +Geo::Coder::OpenCage provides an interface to the OpenCage geocoding service. + +WWW: http://search.cpan.org/dist/Geo-Coder-OpenCage/ diff --git a/misc/p5-Geo-Coder-OpenCage/pkg-plist b/misc/p5-Geo-Coder-OpenCage/pkg-plist new file mode 100644 index 000000000000..80602671ed0d --- /dev/null +++ b/misc/p5-Geo-Coder-OpenCage/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_PERL%%/Geo/Coder/OpenCage.pm +%%SITE_PERL%%/Geo/Coder/README.pod +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder/OpenCage/.packlist +%%PERL5_MAN3%%/Geo::Coder::OpenCage.3.gz +%%PERL5_MAN3%%/Geo::Coder::README.3.gz +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder/OpenCage +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo/Coder +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Geo +@dirrmtry %%SITE_PERL%%/Geo/Coder +@dirrmtry %%SITE_PERL%%/Geo |