vcpkg/ports/calceph/makefilevc.patch
gastineau 50f702b1fe
[calceph] Add new port (#19759)
* initial port of calceph

* apply correct format on vcpkg.json

* add quotes in portfile

* Update version database

* add url to the documentation

* Update version database

* update vcpkg.json

* update version

* delete error version

* remove useless on operating system

* update database version

* Apply suggestions from code review

applied suggested changes about versions

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update port number

* update database version

* format vcpkg.json

* update version

* update portfile.cmake error

* update version

* update portfile.cmake error

* update portfile.cmake error

* fix clflags in debug mode

* update database version

* add the debug flags

* update version database

* add space to avoid single quote for cflags in Makefile.vc

* update version database

* Update version database.

Co-authored-by: Gastineau <Mickael.Gastineau@obspm.fr>
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-20 10:53:19 -07:00

57 lines
2.0 KiB
Diff
Executable File

diff --git a/doc/Makefile.vc b/doc/Makefile.vc
index 60c7eee..1e783a0 100644
--- a/doc/Makefile.vc
+++ b/doc/Makefile.vc
@@ -62,7 +62,7 @@
#
install:
- copy calceph_c.pdf $(DESTDIR)\doc
- copy calceph_fortran2003.pdf $(DESTDIR)\doc
- copy calceph_fortran77.pdf $(DESTDIR)\doc
- copy calceph_python.pdf $(DESTDIR)\doc
+ copy calceph_c.pdf "$(DESTDIR)"\doc
+ copy calceph_fortran2003.pdf "$(DESTDIR)"\doc
+ copy calceph_fortran77.pdf "$(DESTDIR)"\doc
+ copy calceph_python.pdf "$(DESTDIR)"\doc
diff --git a/mexapi/src/Makefile.vc b/mexapi/src/Makefile.vc
index 68e5d45..803c12f 100644
--- a/mexapi/src/Makefile.vc
+++ b/mexapi/src/Makefile.vc
@@ -62,10 +62,10 @@
#
install:
- copy interfacemex.c $(DESTDIR)\libexec\calceph\mex
- copy CalcephBin.m $(DESTDIR)\libexec\calceph\mex
- copy calceph_compilemex.m $(DESTDIR)\libexec\calceph\mex
- copy Constants.m $(DESTDIR)\libexec\calceph\mex
- copy calceph_getversion_str.m $(DESTDIR)\libexec\calceph\mex
- copy NaifId.m $(DESTDIR)\libexec\calceph\mex
- copy calceph_seterrorhandler.m $(DESTDIR)\libexec\calceph\mex
+ copy interfacemex.c "$(DESTDIR)"\libexec\calceph\mex
+ copy CalcephBin.m "$(DESTDIR)"\libexec\calceph\mex
+ copy calceph_compilemex.m "$(DESTDIR)"\libexec\calceph\mex
+ copy Constants.m "$(DESTDIR)"\libexec\calceph\mex
+ copy calceph_getversion_str.m "$(DESTDIR)"\libexec\calceph\mex
+ copy NaifId.m "$(DESTDIR)"\libexec\calceph\mex
+ copy calceph_seterrorhandler.m "$(DESTDIR)"\libexec\calceph\mex
diff --git a/src/Makefile.vc b/src/Makefile.vc
index 730b4a7..9e790b1 100644
--- a/src/Makefile.vc
+++ b/src/Makefile.vc
@@ -111,9 +111,9 @@ clean:
# install target: "nmake /f Makefile.vc install DESTDIR=xxx" to perform the installation.
#
install: all $(F2003INSTALL)
- copy f90calceph.h $(DESTDIR)\include
- copy calceph.h $(DESTDIR)\include
- copy $(LIBRARY) $(DESTDIR)\lib
+ copy f90calceph.h "$(DESTDIR)"\include
+ copy calceph.h "$(DESTDIR)"\include
+ copy $(LIBRARY) "$(DESTDIR)"\lib
f2003install :
- copy f2003calceph.mod $(DESTDIR)\include
+ copy f2003calceph.mod "$(DESTDIR)"\include