Add databases/elixir-geo, a set of GIS functions for Elixir with
optional PostGIS support.
This commit is contained in:
parent
32a5e0f113
commit
9516127087
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393061
5 changed files with 87 additions and 0 deletions
|
@ -55,6 +55,7 @@
|
||||||
SUBDIR += elixir-calecto
|
SUBDIR += elixir-calecto
|
||||||
SUBDIR += elixir-ecto
|
SUBDIR += elixir-ecto
|
||||||
SUBDIR += elixir-ecto_migrate
|
SUBDIR += elixir-ecto_migrate
|
||||||
|
SUBDIR += elixir-geo
|
||||||
SUBDIR += elixir-mariaex
|
SUBDIR += elixir-mariaex
|
||||||
SUBDIR += elixir-mongo
|
SUBDIR += elixir-mongo
|
||||||
SUBDIR += elixir-postgrex
|
SUBDIR += elixir-postgrex
|
||||||
|
|
39
databases/elixir-geo/Makefile
Normal file
39
databases/elixir-geo/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= geo
|
||||||
|
PORTVERSION= 0.15.1
|
||||||
|
DISTVERSIONPREFIX= v
|
||||||
|
CATEGORIES= databases
|
||||||
|
PKGNAMEPREFIX= elixir-
|
||||||
|
|
||||||
|
MAINTAINER= olgeni@FreeBSD.org
|
||||||
|
COMMENT= Collection of GIS functions for Elixir
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
|
||||||
|
OPTIONS_SUB= yes
|
||||||
|
USES= elixir
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= bryanjos
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= POSTGIS
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
MIX_BUILD_DEPS= databases/elixir-ecto \
|
||||||
|
devel/elixir-poison
|
||||||
|
|
||||||
|
.if ${PORT_OPTIONS:MPOSTGIS}
|
||||||
|
MIX_BUILD_DEPS+=databases/elixir-postgrex
|
||||||
|
.endif
|
||||||
|
|
||||||
|
MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
|
||||||
|
MIX_REWRITE= yes
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
.if ! ${PORT_OPTIONS:MPOSTGIS}
|
||||||
|
# These files must be removed or the build will hang forever
|
||||||
|
${RM} -r ${WRKSRC}/lib/geo/postgis.ex ${WRKSRC}/lib/geo/postgis
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
databases/elixir-geo/distinfo
Normal file
2
databases/elixir-geo/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (bryanjos-geo-v0.15.1_GH0.tar.gz) = b30b0acf719f90df2e5fdb2ed15565f2b9ff17eff2ab5e278dc2e8c4f92f8059
|
||||||
|
SIZE (bryanjos-geo-v0.15.1_GH0.tar.gz) = 15311
|
4
databases/elixir-geo/pkg-descr
Normal file
4
databases/elixir-geo/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
A collection of GIS functions for Elixir. Handles conversions to and from
|
||||||
|
WKT, WKB, and GeoJSON.
|
||||||
|
|
||||||
|
WWW: https://github.com/bryanjos/geo
|
41
databases/elixir-geo/pkg-plist
Normal file
41
databases/elixir-geo/pkg-plist
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.GeometryCollection.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.JSON.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.LineString.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.MultiLineString.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.MultiPoint.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.MultiPolygon.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.Point.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.Polygon.beam
|
||||||
|
%%POSTGIS%%lib/elixir/lib/geo/ebin/Elixir.Geo.PostGIS.Extension.beam
|
||||||
|
%%POSTGIS%%lib/elixir/lib/geo/ebin/Elixir.Geo.PostGIS.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.Utils.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.WKB.Reader.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.WKB.Writer.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.WKB.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.WKT.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.Geo.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.String.Chars.Geo.GeometryCollection.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.String.Chars.Geo.LineString.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.String.Chars.Geo.MultiLineString.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.String.Chars.Geo.MultiPoint.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.String.Chars.Geo.MultiPolygon.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.String.Chars.Geo.Point.beam
|
||||||
|
lib/elixir/lib/geo/ebin/Elixir.String.Chars.Geo.Polygon.beam
|
||||||
|
lib/elixir/lib/geo/ebin/geo.app
|
||||||
|
lib/elixir/lib/geo/lib/geo.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/geo_json.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/geometry_collection.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/line_string.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/multi_line_string.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/multi_point.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/multi_polygon.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/point.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/polygon.ex
|
||||||
|
%%POSTGIS%%lib/elixir/lib/geo/lib/geo/postgis.ex
|
||||||
|
%%POSTGIS%%lib/elixir/lib/geo/lib/geo/postgis/extension.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/utils.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/wkb.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/wkb/reader.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/wkb/writer.ex
|
||||||
|
lib/elixir/lib/geo/lib/geo/wkt.ex
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.md
|
Loading…
Reference in a new issue