aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/netcdf-c/portfile.cmake5
-rw-r--r--ports/netcdf-cxx4/portfile.cmake5
2 files changed, 10 insertions, 0 deletions
diff --git a/ports/netcdf-c/portfile.cmake b/ports/netcdf-c/portfile.cmake
index f2630711e..4abe0f9dc 100644
--- a/ports/netcdf-c/portfile.cmake
+++ b/ports/netcdf-c/portfile.cmake
@@ -52,3 +52,8 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# Handle copyright
file(COPY ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/netcdf-c)
+file(
+ RENAME
+ ${CURRENT_PACKAGES_DIR}/share/netcdf-c/COPYRIGHT
+ ${CURRENT_PACKAGES_DIR}/share/netcdf-c/copyright
+)
diff --git a/ports/netcdf-cxx4/portfile.cmake b/ports/netcdf-cxx4/portfile.cmake
index 92ae59675..22e4e1653 100644
--- a/ports/netcdf-cxx4/portfile.cmake
+++ b/ports/netcdf-cxx4/portfile.cmake
@@ -42,3 +42,8 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# Handle copyright
file(COPY ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/netcdf-cxx4)
+file(
+ RENAME
+ ${CURRENT_PACKAGES_DIR}/share/netcdf-cxx4/COPYRIGHT
+ ${CURRENT_PACKAGES_DIR}/share/netcdf-cxx4/copyright
+)