diff options
| author | gastineau <gastineau@imcce.fr> | 2021-09-20 19:53:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-20 10:53:19 -0700 |
| commit | 50f702b1fec1ffae1c0c1ca1935628334ceb0e47 (patch) | |
| tree | 3e2b1baf6a94e85b848e7d6d3cea1f2e311b8525 /ports/calceph/makefilevc.patch | |
| parent | 10463fcad3e30e2c9a9c628a375e2340dd1f5705 (diff) | |
| download | vcpkg-50f702b1fec1ffae1c0c1ca1935628334ceb0e47.tar.gz vcpkg-50f702b1fec1ffae1c0c1ca1935628334ceb0e47.zip | |
[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>
Diffstat (limited to 'ports/calceph/makefilevc.patch')
| -rwxr-xr-x | ports/calceph/makefilevc.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ports/calceph/makefilevc.patch b/ports/calceph/makefilevc.patch new file mode 100755 index 000000000..796eeb202 --- /dev/null +++ b/ports/calceph/makefilevc.patch @@ -0,0 +1,56 @@ +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 |
