diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2020-12-26 11:48:36 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2020-12-26 11:48:36 +0000 |
commit | c7653b87ed2f28ae415b689144b3da8cd5e1a2ac (patch) | |
tree | 6db8f39ea44e011b1585bd5dcee0e2975aa72c3c /science/cgnslib | |
parent | 83f3113caaf2ab1796da85a8b03ef9217dbf9ef9 (diff) | |
download | ports-c7653b87ed2f28ae415b689144b3da8cd5e1a2ac.tar.gz ports-c7653b87ed2f28ae415b689144b3da8cd5e1a2ac.zip |
science/cgnslib: rename unitconv to unitconv.sh, thus avoiding the conflict with
XCrySDen.
Notes
Notes:
svn path=/head/; revision=559285
Diffstat (limited to 'science/cgnslib')
-rw-r--r-- | science/cgnslib/Makefile | 3 | ||||
-rw-r--r-- | science/cgnslib/files/patch-src_cgnstools_cgnscalc_CMakeLists.txt | 15 | ||||
-rw-r--r-- | science/cgnslib/files/patch-src_cgnstools_cgnscalc_Makefile.unix | 14 | ||||
-rw-r--r-- | science/cgnslib/pkg-plist | 2 |
4 files changed, 31 insertions, 3 deletions
diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile index f76e99cc872b..3bdca251b72e 100644 --- a/science/cgnslib/Makefile +++ b/science/cgnslib/Makefile @@ -4,6 +4,7 @@ PORTNAME= cgnslib PORTVERSION= 4.1.2 DISTVERSIONPREFIX= v +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= science @@ -22,8 +23,6 @@ GH_PROJECT= CGNS USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes -CONFLICTS_INSTALL= xcrysden-1.* # bin/unitconv - TEST_TARGET= test FFLAGS+= -std=legacy diff --git a/science/cgnslib/files/patch-src_cgnstools_cgnscalc_CMakeLists.txt b/science/cgnslib/files/patch-src_cgnstools_cgnscalc_CMakeLists.txt new file mode 100644 index 000000000000..49640d79f163 --- /dev/null +++ b/science/cgnslib/files/patch-src_cgnstools_cgnscalc_CMakeLists.txt @@ -0,0 +1,15 @@ +--- src/cgnstools/cgnscalc/CMakeLists.txt.orig 2020-08-18 19:44:35 UTC ++++ src/cgnstools/cgnscalc/CMakeLists.txt +@@ -77,10 +77,10 @@ else (WIN32) + cgnscalc.sh + DESTINATION bin + RENAME cgnscalc) ++ # Do not install as unitconv to avoid a conflicy with XCrySDen + install(PROGRAMS + unitconv.sh +- DESTINATION bin +- RENAME unitconv) ++ DESTINATION bin) + install(FILES + cgnscalc.tcl + unitconv.tcl diff --git a/science/cgnslib/files/patch-src_cgnstools_cgnscalc_Makefile.unix b/science/cgnslib/files/patch-src_cgnstools_cgnscalc_Makefile.unix new file mode 100644 index 000000000000..b4b8eb9e1ba6 --- /dev/null +++ b/science/cgnslib/files/patch-src_cgnstools_cgnscalc_Makefile.unix @@ -0,0 +1,14 @@ +--- src/cgnstools/cgnscalc/Makefile.unix.orig 2020-08-18 19:44:35 UTC ++++ src/cgnstools/cgnscalc/Makefile.unix +@@ -45,8 +45,9 @@ install-prog : + @echo "installing cgnscalc shell scripts to $(BIN_INSTALL_DIR)" + @$(INSTALL_PROG) cgnscalc.sh $(BIN_INSTALL_DIR)/cgnscalc + @chmod +x $(BIN_INSTALL_DIR)/cgnscalc +- @$(INSTALL_PROG) unitconv.sh $(BIN_INSTALL_DIR)/unitconv +- @chmod +x $(BIN_INSTALL_DIR)/unitconv ++ # Do not install as unitconv to avoid a conflicy with XCrySDen ++ @$(INSTALL_PROG) unitconv.sh $(BIN_INSTALL_DIR)/unitconv.sh ++ @chmod +x $(BIN_INSTALL_DIR)/unitconv.sh + @if [ ! -f $(EXE_INSTALL_DIR)/cgconfig ] ; then \ + echo "installing configuration file to $(EXE_INSTALL_DIR)"; \ + $(INSTALL_DATA) ../cgconfig $(EXE_INSTALL_DIR)/cgconfig; \ diff --git a/science/cgnslib/pkg-plist b/science/cgnslib/pkg-plist index 841e45954873..86ebc71c99af 100644 --- a/science/cgnslib/pkg-plist +++ b/science/cgnslib/pkg-plist @@ -26,7 +26,7 @@ %%TOOLS%%bin/cgnstools/update_ngon %%TOOLS%%bin/cgnstools/vgrid_to_cgns %%TOOLS%%bin/cgnsview -%%TOOLS%%bin/unitconv +%%TOOLS%%bin/unitconv.sh bin/cgnscheck bin/cgnscompress bin/cgnsconvert |