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

(-)Makefile (-16 / +11 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	geographiclib
4
PORTNAME=	geographiclib
5
PORTVERSION=	1.44
5
PORTVERSION=	1.45
6
CATEGORIES=	astro
6
CATEGORIES=	astro
7
MASTER_SITES=	SF/geographiclib/distrib\
7
MASTER_SITES=	SF/geographiclib/distrib\
8
		SF/geographiclib:geoids,gravity,magnetic
8
		SF/geographiclib:geoids,gravity,magnetic
Lines 50-56 Link Here
50
GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DESC=		Install ${n} geoid dataset
50
GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DESC=		Install ${n} geoid dataset
51
OPTIONS_GROUP_DATASETS+=	GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}
51
OPTIONS_GROUP_DATASETS+=	GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}
52
GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DISTFILES=	geoids-distrib/${n}.tar.bz2:geoids
52
GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DISTFILES=	geoids-distrib/${n}.tar.bz2:geoids
53
MAKESUM_DISTFILES+=		geoids-distrib/${n}.tar.bz2:geoids
54
MAKESUM_OPTIONS_DEFAULT+=	GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}
53
MAKESUM_OPTIONS_DEFAULT+=	GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}
55
.endfor
54
.endfor
56
.for n in ${GRAVITY_NAMES}
55
.for n in ${GRAVITY_NAMES}
Lines 57-63 Link Here
57
GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DESC=	Install ${n} gravity model
56
GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DESC=	Install ${n} gravity model
58
OPTIONS_GROUP_DATASETS+=	GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}
57
OPTIONS_GROUP_DATASETS+=	GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}
59
GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DISTFILES=	gravity-distrib/${n}.tar.bz2:gravity
58
GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DISTFILES=	gravity-distrib/${n}.tar.bz2:gravity
60
MAKESUM_DISTFILES+=		gravity-distrib/${n}.tar.bz2:gravity
61
MAKESUM_OPTIONS_DEFAULT+=	GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}
59
MAKESUM_OPTIONS_DEFAULT+=	GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}
62
.endfor
60
.endfor
63
.for n in ${MAGNETIC_NAMES}
61
.for n in ${MAGNETIC_NAMES}
Lines 64-70 Link Here
64
MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DESC=	Install ${n} magnetic model
62
MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DESC=	Install ${n} magnetic model
65
OPTIONS_GROUP_DATASETS+=	MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}
63
OPTIONS_GROUP_DATASETS+=	MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}
66
MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DISTFILES=	magnetic-distrib/${n}.tar.bz2:magnetic
64
MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}_DISTFILES=	magnetic-distrib/${n}.tar.bz2:magnetic
67
MAKESUM_DISTFILES+=		magnetic-distrib/${n}.tar.bz2:magnetic
68
MAKESUM_OPTIONS_DEFAULT+=	MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}
65
MAKESUM_OPTIONS_DEFAULT+=	MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}
69
.endfor
66
.endfor
70
67
Lines 73-84 Link Here
73
OPTIONS_DEFAULT=	${MAKESUM_OPTIONS_DEFAULT}
70
OPTIONS_DEFAULT=	${MAKESUM_OPTIONS_DEFAULT}
74
.endif
71
.endif
75
72
76
.include <bsd.port.options.mk>
77
78
post-patch:
73
post-patch:
79
	${REINPLACE_CMD} -e '/wget/s/wget -O/fetch -o /'\
74
	${REINPLACE_CMD} -e '/wget/s/wget -O/fetch -o /'\
80
		${WRKSRC}/tools/geographiclib-get-*.sh
75
		${WRKSRC}/tools/geographiclib-get-*.sh
81
76
77
.for n in ${GEOID_NAMES}
78
post-install-GEOID_${n:C/[^0-9A-Z_a-z]/_/g:tu}-on: install-datasets-geoids
79
.endfor
80
.for n in ${GRAVITY_NAMES}
81
post-install-GRAVITY_${n:C/[^0-9A-Z_a-z]/_/g:tu}-on: install-datasets-gravity
82
.endfor
83
.for n in ${MAGNETIC_NAMES}
84
post-install-MAGNETIC_${n:C/[^0-9A-Z_a-z]/_/g:tu}-on: install-datasets-magnetic
85
.endfor
86
82
.for n in geoids gravity magnetic
87
.for n in geoids gravity magnetic
83
install-datasets-${n}: .NOTMAIN
88
install-datasets-${n}: .NOTMAIN
84
	${MKDIR} ${STAGEDIR}${DATADIR}/${n}
89
	${MKDIR} ${STAGEDIR}${DATADIR}/${n}
Lines 87-102 Link Here
87
.PHONY: install-datasets-${n}
92
.PHONY: install-datasets-${n}
88
.endfor
93
.endfor
89
94
90
.if ${PORT_OPTIONS:MGEOID_*}
91
post-install: install-datasets-geoids
92
.endif
93
.if ${PORT_OPTIONS:MGRAVITY_*}
94
post-install: install-datasets-gravity
95
.endif
96
.if ${PORT_OPTIONS:MMAGNETIC_*}
97
post-install: install-datasets-magnetic
98
.endif
99
100
.PHONY: x-tool-plist
95
.PHONY: x-tool-plist
101
x-tool-plist: ${PLIST} .NOTMAIN
96
x-tool-plist: ${PLIST} .NOTMAIN
102
	${REINPLACE_CMD}\
97
	${REINPLACE_CMD}\
(-)distinfo (-2 / +2 lines)
Lines 1-5 Link Here
1
SHA256 (GeographicLib/GeographicLib-1.44.tar.gz) = f0423318fb30959632f403935827e06856737cf4621695ecc27fa9c251db9d37
1
SHA256 (GeographicLib/GeographicLib-1.45.tar.gz) = fbcd9fc9b10de0830f5cb57665dc675ae61f81b370873bb4b95540d569410dae
2
SIZE (GeographicLib/GeographicLib-1.44.tar.gz) = 2089179
2
SIZE (GeographicLib/GeographicLib-1.45.tar.gz) = 2158951
3
SHA256 (GeographicLib/geoids-distrib/egm84-30.tar.bz2) = 18bc3e2b55c4f9f2f9ba8d14380dc47cc5c0d00dc2363b723d2305f30a91498e
3
SHA256 (GeographicLib/geoids-distrib/egm84-30.tar.bz2) = 18bc3e2b55c4f9f2f9ba8d14380dc47cc5c0d00dc2363b723d2305f30a91498e
4
SIZE (GeographicLib/geoids-distrib/egm84-30.tar.bz2) = 416481
4
SIZE (GeographicLib/geoids-distrib/egm84-30.tar.bz2) = 416481
5
SHA256 (GeographicLib/geoids-distrib/egm84-15.tar.bz2) = 579e3dad2f33b54f1fed16edb3ed9d4ae8cdad6ea064f7375af30d678eb2e51c
5
SHA256 (GeographicLib/geoids-distrib/egm84-15.tar.bz2) = 579e3dad2f33b54f1fed16edb3ed9d4ae8cdad6ea064f7375af30d678eb2e51c
(-)pkg-plist (-1 / +13 lines)
Lines 54-60 Link Here
54
lib/libGeographic.a
54
lib/libGeographic.a
55
lib/libGeographic.so
55
lib/libGeographic.so
56
lib/libGeographic.so.14
56
lib/libGeographic.so.14
57
lib/libGeographic.so.14.2.0
57
lib/libGeographic.so.14.2.1
58
lib/node_modules/geographiclib/LICENSE.txt
59
lib/node_modules/geographiclib/README.md
60
lib/node_modules/geographiclib/geographiclib.js
61
lib/node_modules/geographiclib/geographiclib.min.js
62
lib/node_modules/geographiclib/package.json
63
lib/node_modules/geographiclib/src/DMS.js
64
lib/node_modules/geographiclib/src/Geodesic.js
65
lib/node_modules/geographiclib/src/GeodesicLine.js
66
lib/node_modules/geographiclib/src/Math.js
67
lib/node_modules/geographiclib/src/PolygonArea.js
68
lib/node_modules/geographiclib/test/geodesictest.js
58
%%PYTHON_SITELIBDIR%%/geographiclib/__init__.py
69
%%PYTHON_SITELIBDIR%%/geographiclib/__init__.py
59
%%PYTHON_SITELIBDIR%%/geographiclib/accumulator.py
70
%%PYTHON_SITELIBDIR%%/geographiclib/accumulator.py
60
%%PYTHON_SITELIBDIR%%/geographiclib/constants.py
71
%%PYTHON_SITELIBDIR%%/geographiclib/constants.py
Lines 168-173 Link Here
168
share/matlab/geographiclib/geoddistance.m
179
share/matlab/geographiclib/geoddistance.m
169
share/matlab/geographiclib/geoddoc.m
180
share/matlab/geographiclib/geoddoc.m
170
share/matlab/geographiclib/geodreckon.m
181
share/matlab/geographiclib/geodreckon.m
182
share/matlab/geographiclib/geographiclib_test.m
171
share/matlab/geographiclib/geoid_height.m
183
share/matlab/geographiclib/geoid_height.m
172
share/matlab/geographiclib/geoid_load.m
184
share/matlab/geographiclib/geoid_load.m
173
share/matlab/geographiclib/gereckon.m
185
share/matlab/geographiclib/gereckon.m

Return to bug 203631