View | Details | Raw Unified | Return to bug 244179
Collapse All | Expand All

(-)astro/geographiclib/Makefile (-6 / +6 lines)
Lines 2-13 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	geographiclib
4
PORTNAME=	geographiclib
5
DISTVERSION=	1.50
5
DISTVERSION=	1.50.1
6
CATEGORIES=	astro
6
CATEGORIES=	astro
7
MASTER_SITES=	SF/geographiclib/distrib\
7
MASTER_SITES=	SF/geographiclib/distrib\
8
		SF/geographiclib/distrib/archive\
8
		SF/geographiclib/distrib/archive\
9
		SF/geographiclib:geoids,gravity,magnetic
9
		SF/geographiclib:geoids,gravity,magnetic
10
DISTNAME=	GeographicLib-${DISTVERSION}${DISTVERSIONSUFFIX}
10
DISTNAME=	GeographicLib-${DISTVERSIONFULL}
11
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}	#
11
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}	#
12
DIST_SUBDIR=	GeographicLib
12
DIST_SUBDIR=	GeographicLib
13
13
Lines 18-24 Link Here
18
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
18
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
19
19
20
USES=		cmake compiler:c++14-lang python:env
20
USES=		cmake compiler:c++14-lang python:env
21
WRKSRC=		${WRKDIR}/GeographicLib-${DISTVERSION}
22
PORTDOCS=	*
21
PORTDOCS=	*
23
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
24
CMAKE_ARGS=	-DGEOGRAPHICLIB_DATA:STRING=${DATADIR:Q}\
23
CMAKE_ARGS=	-DGEOGRAPHICLIB_DATA:STRING=${DATADIR:Q}\
Lines 29-38 Link Here
29
OPTIONS_DEFINE=	DOCS DOXYGEN PERL
28
OPTIONS_DEFINE=	DOCS DOXYGEN PERL
30
OPTIONS_DEFAULT=	DOXYGEN PERL\
29
OPTIONS_DEFAULT=	DOXYGEN PERL\
31
			GEOID_EGM96_5 GRAVITY_EGM96 GRAVITY_WGS84\
30
			GEOID_EGM96_5 GRAVITY_EGM96 GRAVITY_WGS84\
32
			MAGNETIC_WMM2015V2 MAGNETIC_IGRF12
31
			MAGNETIC_WMM2020 MAGNETIC_IGRF12
33
PERL_DESC=	Build documentation with pod2man and pod2html
32
PERL_DESC=	Build documentation with pod2man and pod2html
34
OPTIONS_GROUP=	DATASETS
33
OPTIONS_GROUP=	DATASETS
35
OPTIONS_SUB=	yes
34
OPTIONS_SUB=	yes
35
DATASETS_DESC=	geoid datasets, gravity models and magnetic field models
36
DOXYGEN_CMAKE_BOOL=	GEOGRAPHICLIB_DOCUMENTATION
36
DOXYGEN_CMAKE_BOOL=	GEOGRAPHICLIB_DOCUMENTATION
37
DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen\
37
DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen\
38
			sphinx-build:textproc/py-sphinx
38
			sphinx-build:textproc/py-sphinx
Lines 44-50 Link Here
44
GEOID_NAMES=		egm84-30 egm84-15 egm96-15 egm96-5\
44
GEOID_NAMES=		egm84-30 egm84-15 egm96-15 egm96-5\
45
			egm2008-5 egm2008-2_5 egm2008-1
45
			egm2008-5 egm2008-2_5 egm2008-1
46
GRAVITY_NAMES=		egm84 egm96 egm2008 wgs84 grs80
46
GRAVITY_NAMES=		egm84 egm96 egm2008 wgs84 grs80
47
MAGNETIC_NAMES=		wmm2010 wmm2015 wmm2015v2 igrf11 igrf12\
47
MAGNETIC_NAMES=		wmm2010 wmm2015 wmm2015v2 wmm2020\
48
			igrf11 igrf12\
48
			emm2010 emm2015 emm2017
49
			emm2010 emm2015 emm2017
49
DEPRECATED_NAMES=	wmm2015
50
DEPRECATED_NAMES=	wmm2015
50
51
Lines 70-76 Link Here
70
MAKESUM_OPTIONS_DEFAULT+=	MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}
71
MAKESUM_OPTIONS_DEFAULT+=	MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}
71
.endfor
72
.endfor
72
73
73
# Memorandum: use "make fetch makesum" to makesum all distfiles.
74
.ifmake makesum || distclean
74
.ifmake makesum || distclean
75
OPTIONS_DEFAULT=	${MAKESUM_OPTIONS_DEFAULT}
75
OPTIONS_DEFAULT=	${MAKESUM_OPTIONS_DEFAULT}
76
.endif
76
.endif
(-)astro/geographiclib/distinfo (-3 / +5 lines)
Lines 1-6 Link Here
1
TIMESTAMP = 1569492000
1
TIMESTAMP = 1581822000
2
SHA256 (GeographicLib/GeographicLib-1.50.tar.gz) = 2ac8888094d21ba48adb433c4bb569937497b39733e96c080b5ce278e2587622
2
SHA256 (GeographicLib/GeographicLib-1.50.1.tar.gz) = d1765009e068b8cc5e76957e5d6be45ce6cff08c4aad8e5995e84a28354385f1
3
SIZE (GeographicLib/GeographicLib-1.50.tar.gz) = 2463958
3
SIZE (GeographicLib/GeographicLib-1.50.1.tar.gz) = 2463854
4
SHA256 (GeographicLib/geoids-distrib/egm2008-1.tar.bz2) = bdb382d0be7ece9142450eacc24b7b7f0889ee3e0ba4f535b04ec383f94c0fb5
4
SHA256 (GeographicLib/geoids-distrib/egm2008-1.tar.bz2) = bdb382d0be7ece9142450eacc24b7b7f0889ee3e0ba4f535b04ec383f94c0fb5
5
SIZE (GeographicLib/geoids-distrib/egm2008-1.tar.bz2) = 162388303
5
SIZE (GeographicLib/geoids-distrib/egm2008-1.tar.bz2) = 162388303
6
SHA256 (GeographicLib/geoids-distrib/egm2008-2_5.tar.bz2) = d602e13446a4a4a23f39aecfe6a2a0760a1bc6c1b497482c2ebc9f7d513be699
6
SHA256 (GeographicLib/geoids-distrib/egm2008-2_5.tar.bz2) = d602e13446a4a4a23f39aecfe6a2a0760a1bc6c1b497482c2ebc9f7d513be699
Lines 41-43 Link Here
41
SIZE (GeographicLib/magnetic-distrib/wmm2015.tar.bz2) = 1425
41
SIZE (GeographicLib/magnetic-distrib/wmm2015.tar.bz2) = 1425
42
SHA256 (GeographicLib/magnetic-distrib/wmm2015v2.tar.bz2) = fda5e84ee803644c8695637f66ca2b278657633de6f83573eb988713d643a419
42
SHA256 (GeographicLib/magnetic-distrib/wmm2015v2.tar.bz2) = fda5e84ee803644c8695637f66ca2b278657633de6f83573eb988713d643a419
43
SIZE (GeographicLib/magnetic-distrib/wmm2015v2.tar.bz2) = 1448
43
SIZE (GeographicLib/magnetic-distrib/wmm2015v2.tar.bz2) = 1448
44
SHA256 (GeographicLib/magnetic-distrib/wmm2020.tar.bz2) = 0a33e726b88f9aac390d5a64ba2b4e5aa4533dd98699955bc9f23278df3b5a52
45
SIZE (GeographicLib/magnetic-distrib/wmm2020.tar.bz2) = 1434
(-)astro/geographiclib/files/patch-CMakeLists.txt (-2 / +2 lines)
Lines 1-4 Link Here
1
--- CMakeLists.txt.orig	2019-09-24 12:55:55 UTC
1
--- CMakeLists.txt.orig	2019-12-12 10:51:35 UTC
2
+++ CMakeLists.txt
2
+++ CMakeLists.txt
3
@@ -183,6 +183,11 @@ option (APPLE_MULTIPLE_ARCHITECTURES
3
@@ -183,6 +183,11 @@ option (APPLE_MULTIPLE_ARCHITECTURES
4
 # directory is present you get this behavior regardless.
4
 # directory is present you get this behavior regardless.
Lines 12-18 Link Here
12
 set (LIBNAME Geographic)
12
 set (LIBNAME Geographic)
13
 if (MSVC OR CMAKE_CONFIGURATION_TYPES)
13
 if (MSVC OR CMAKE_CONFIGURATION_TYPES)
14
   # For multi-config systems and for Visual Studio, the debug version of
14
   # For multi-config systems and for Visual Studio, the debug version of
15
@@ -475,7 +480,7 @@ endif ()
15
@@ -464,7 +469,7 @@ endif ()
16
 # documentation files into the source tree.  Skip Apple here because
16
 # documentation files into the source tree.  Skip Apple here because
17
 # man/makeusage.sh uses "head --lines -4" to drop the last 4 lines of a
17
 # man/makeusage.sh uses "head --lines -4" to drop the last 4 lines of a
18
 # file and there's no simple equivalent for MacOSX
18
 # file and there's no simple equivalent for MacOSX
(-)astro/geographiclib/pkg-descr (-5 / +3 lines)
Lines 1-10 Link Here
1
GeographicLib is a small set of C++ classes for performing conversions
1
GeographicLib is a small set of C++ classes for performing conversions
2
between geographic, UTM, UPS, MGRS, geocentric, and local cartesian
2
between geographic, UTM, UPS, MGRS, geocentric, and local cartesian
3
coordinates, for gravity (e.g., EGM2008), geoid height, and geomagnetic
3
coordinates, for gravity (e.g., EGM2008), geoid height, and geomagnetic
4
field (e.g., WMM2010) calculations, and for solving geodesic problems.
4
field (e.g., WMM2020) calculations, and for solving geodesic problems.
5
5
6
The library may be used from .NET applications using the NETGeographicLib
6
It is a suitable replacement for the core functionality provided by geotrans.
7
wrapper library.  It is a suitable replacement for the core functionality
8
provided by geotrans.
9
7
10
WWW: http://geographiclib.sourceforge.net/
8
WWW: https://geographiclib.sourceforge.io/
(-)astro/geographiclib/pkg-help (+43 lines)
Line 0 Link Here
1
Geoid datasets used by the GeographicLib::Geoid class and the GeoidEval
2
tool to compute geoid heights.
3
4
  Available geoid data files
5
                                  size (MB)
6
  name         geoid    grid    tar.bz2  disk
7
  egm84-30     EGM84    30'      0.5      0.6
8
  egm84-15     EGM84    15'      1.5      2.1
9
  egm96-15     EGM96    15'      1.5      2.1
10
  egm96-5      EGM96     5'       11       19
11
  egm2008-5    EGM2008   5'       11       19
12
  egm2008-2_5  EGM2008   2.5'     35       75
13
  egm2008-1    EGM2008   1'      170      470
14
15
Gravity models used by the GeographicLib::GravityModel class and the
16
Gravity tool to compute gravity fields.
17
18
  Available gravity models
19
                       size (kB)
20
  name     degree    tar.bz2  disk
21
  egm84      18       27      26
22
  egm96      360     2100    2100
23
  egm2008   2190    76000   75000
24
  wgs84      20        1       1
25
  grs80      20        1       1
26
27
Magnetic models used by the GeographicLib::MagneticModel class and the
28
MagneticField tool to compute magnetic fields.
29
30
  Available magnetic models
31
                                  size (kB)
32
  name     degree    years      tar.bz2  disk
33
  wmm2010    12    2010-2015      2       3
34
  wmm2015    12    2015-2020      2       3  *deprecated*
35
  wmm2015v2  12    2015-2020      2       3
36
  wmm2020    12    2020-2025      2       3
37
  igrf11     13    1900-2015      7      25
38
  igrf12     13    1900-2020      7      26
39
  emm2010   739    2010-2015    3700    4400
40
  emm2015   729    2000-2020     660    4300
41
  emm2017   790    2000-2022    1740    5050
42
43
The size columns give the download and installed sizes of the datasets.
(-)astro/geographiclib/pkg-plist (-1 / +3 lines)
Lines 61-67 Link Here
61
lib/libGeographic.a
61
lib/libGeographic.a
62
lib/libGeographic.so
62
lib/libGeographic.so
63
lib/libGeographic.so.19
63
lib/libGeographic.so.19
64
lib/libGeographic.so.19.0.0
64
lib/libGeographic.so.19.0.1
65
lib/node_modules/geographiclib/LICENSE.txt
65
lib/node_modules/geographiclib/LICENSE.txt
66
lib/node_modules/geographiclib/README.md
66
lib/node_modules/geographiclib/README.md
67
lib/node_modules/geographiclib/geographiclib.js
67
lib/node_modules/geographiclib/geographiclib.js
Lines 148-153 Link Here
148
%%MAGNETIC_WMM2015%%%%DATADIR%%/magnetic/wmm2015.wmm.cof
148
%%MAGNETIC_WMM2015%%%%DATADIR%%/magnetic/wmm2015.wmm.cof
149
%%MAGNETIC_WMM2015V2%%%%DATADIR%%/magnetic/wmm2015v2.wmm
149
%%MAGNETIC_WMM2015V2%%%%DATADIR%%/magnetic/wmm2015v2.wmm
150
%%MAGNETIC_WMM2015V2%%%%DATADIR%%/magnetic/wmm2015v2.wmm.cof
150
%%MAGNETIC_WMM2015V2%%%%DATADIR%%/magnetic/wmm2015v2.wmm.cof
151
%%MAGNETIC_WMM2020%%%%DATADIR%%/magnetic/wmm2020.wmm
152
%%MAGNETIC_WMM2020%%%%DATADIR%%/magnetic/wmm2020.wmm.cof
151
share/matlab/geographiclib-legacy/Contents.m
153
share/matlab/geographiclib-legacy/Contents.m
152
share/matlab/geographiclib-legacy/geocentricforward.m
154
share/matlab/geographiclib-legacy/geocentricforward.m
153
share/matlab/geographiclib-legacy/geocentricreverse.m
155
share/matlab/geographiclib-legacy/geocentricreverse.m

Return to bug 244179