diff --git a/geo/p5-Geo-Coordinates-OSGB/Makefile b/geo/p5-Geo-Coordinates-OSGB/Makefile new file mode 100644 index 00000000000..dd2eb89c12a --- /dev/null +++ b/geo/p5-Geo-Coordinates-OSGB/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2017/03/27 09:45:38 sthen Exp $ + +COMMENT = convert Lat/Lon to/from GB Ordnance Survey grid reference + +DISTNAME = Geo-Coordinates-OSGB-2.16 + +CATEGORIES = geo + +# GPLv2+ +PERMIT_PACKAGE_CDROM = Yes + +MODULES = cpan +MODCPAN_EXAMPLES = Yes + +PKG_ARCH = * + +pre-install: + chmod +x ${WRKSRC}/examples/*.pl + +.include diff --git a/geo/p5-Geo-Coordinates-OSGB/distinfo b/geo/p5-Geo-Coordinates-OSGB/distinfo new file mode 100644 index 00000000000..f5cab67147c --- /dev/null +++ b/geo/p5-Geo-Coordinates-OSGB/distinfo @@ -0,0 +1,2 @@ +SHA256 (Geo-Coordinates-OSGB-2.16.tar.gz) = sHVj9YIwzALntxvN7u1+eO82GWi2kM9MqCKW6QAK7NI= +SIZE (Geo-Coordinates-OSGB-2.16.tar.gz) = 1905970 diff --git a/geo/p5-Geo-Coordinates-OSGB/pkg/DESCR b/geo/p5-Geo-Coordinates-OSGB/pkg/DESCR new file mode 100644 index 00000000000..29c756b0a89 --- /dev/null +++ b/geo/p5-Geo-Coordinates-OSGB/pkg/DESCR @@ -0,0 +1,12 @@ +An implementation of co-ordinate conversion for England, Wales, and +Scotland based on formulae and data published by the Ordnance Survey of +Great Britain. + +These modules convert accurately between coordinates given in latitude +and longitude and the OSGB national grid reference system (as used for +maps of England, Wales, and Scotland). + +This code is fine tuned to the British national grid system. It is of +no use outside Britain. In fact it's only really useful in the areas +covered by the OS's main series of maps, which excludes the Channel +Islands and Northern Ireland. diff --git a/geo/p5-Geo-Coordinates-OSGB/pkg/PLIST b/geo/p5-Geo-Coordinates-OSGB/pkg/PLIST new file mode 100644 index 00000000000..b7882a343d9 --- /dev/null +++ b/geo/p5-Geo-Coordinates-OSGB/pkg/PLIST @@ -0,0 +1,22 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2017/03/27 09:45:38 sthen Exp $ +${P5SITE}/Geo/ +${P5SITE}/Geo/Coordinates/ +${P5SITE}/Geo/Coordinates/OSGB/ +${P5SITE}/Geo/Coordinates/OSGB.pm +${P5SITE}/Geo/Coordinates/OSGB/Background.pod +${P5SITE}/Geo/Coordinates/OSGB/Grid.pm +${P5SITE}/Geo/Coordinates/OSGB/Maps.pm +@man man/man3p/Geo::Coordinates::OSGB.3p +@man man/man3p/Geo::Coordinates::OSGB::Background.3p +@man man/man3p/Geo::Coordinates::OSGB::Grid.3p +@man man/man3p/Geo::Coordinates::OSGB::Maps.3p +share/examples/p5-Geo-Coordinates-OSGB/ +share/examples/p5-Geo-Coordinates-OSGB/National_grid.pdf +share/examples/p5-Geo-Coordinates-OSGB/bng_to_ll.pl +share/examples/p5-Geo-Coordinates-OSGB/gb-coastline.shapes +share/examples/p5-Geo-Coordinates-OSGB/gbguessr.pl +share/examples/p5-Geo-Coordinates-OSGB/ll_to_bng.pl +share/examples/p5-Geo-Coordinates-OSGB/ostn-boundary-polygons.wkt +share/examples/p5-Geo-Coordinates-OSGB/plot_maps.pl +share/examples/p5-Geo-Coordinates-OSGB/what_map.pl +share/examples/p5-Geo-Coordinates-OSGB/zero-points.pl