aboutsummaryrefslogtreecommitdiff
path: root/ports/geotrans
diff options
context:
space:
mode:
Diffstat (limited to 'ports/geotrans')
-rw-r--r--ports/geotrans/portfile.cmake5
-rw-r--r--ports/geotrans/vcpkg.json5
2 files changed, 4 insertions, 6 deletions
diff --git a/ports/geotrans/portfile.cmake b/ports/geotrans/portfile.cmake
index 930452baa..6b56785bc 100644
--- a/ports/geotrans/portfile.cmake
+++ b/ports/geotrans/portfile.cmake
@@ -1,12 +1,9 @@
set(VCPKG_LIBRARY_LINKAGE "dynamic")
-message(WARNING "Download ${PORT} may take a several hours to complete!")
-message(WARNING "Port ${PORT} source resides NGA US Government military ftp server with an extremely slow connection.")
-
# We specify the Linux URL, but the only difference between the Windows/Linux packages are the included libraries
# which we re-build anyway. There is no source only package provided or it would be preferred (and smaller).
vcpkg_download_distfile(ARCHIVE
- URLS "ftp://ftp.nga.mil/pub2/gandg/website/wgs84/apps/geotrans/current-version/sw/master_version/master.tgz"
+ URLS "https://earth-info.nga.mil/php/download.php?file=wgs-mastertgz"
FILENAME "geotrans-3.8-master.tgz"
SHA512 359704ee9700762111006d126872feab9f644af0cebd433a657473347ea48f4eb172681f5f564fbca171bbf58fe0e8fb0829597403958770b7d22ad380afeac3
)
diff --git a/ports/geotrans/vcpkg.json b/ports/geotrans/vcpkg.json
index 788e23073..ba21e7c05 100644
--- a/ports/geotrans/vcpkg.json
+++ b/ports/geotrans/vcpkg.json
@@ -1,7 +1,8 @@
{
"name": "geotrans",
- "version-string": "3.8",
+ "version": "3.8",
+ "port-version": 1,
"description": "GEOTRANS is an application that allows you to convert geographic coordinates among a wide variety of coordinate systems, map projections, grids, and datums. GEOTRANS runs in Microsoft Windows and LINUX environments.",
"homepage": "https://earth-info.nga.mil/GandG/update/index.php?action=home",
- "supports": "(((x86 | x64) & windows & !static) | ((x86 | x64) & linux)) & !uwp & !arm & !arm64 & !osx & !android"
+ "supports": "!uwp"
}