mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
iqtree2: update to 2.4.0
This commit is contained in:
+29
-14
@@ -5,12 +5,11 @@ PortGroup github 1.0
|
||||
PortGroup cmake 1.1
|
||||
PortGroup boost 1.0
|
||||
|
||||
github.setup iqtree iqtree2 2.1.3 v
|
||||
github.setup iqtree iqtree2 2.4.0 v
|
||||
github.tarball_from archive
|
||||
revision 1
|
||||
revision 0
|
||||
|
||||
categories science
|
||||
platforms darwin
|
||||
license GPL-2
|
||||
maintainers {reneeotten @reneeotten} openmaintainer
|
||||
|
||||
@@ -24,24 +23,40 @@ long_description The IQ-TREE software was created as the successor of IQP
|
||||
computing to speed up the analysis. IQ-TREE automatically performs \
|
||||
checkpointing to resume an interrupted analysis.
|
||||
|
||||
homepage http://www.iqtree.org/
|
||||
homepage https://iqtree.github.io
|
||||
|
||||
checksums rmd160 f430a8a41380ab97741aaa9a24af1ac91e1b23d5 \
|
||||
sha256 d34d16df5eb4d7368ecbfa14d2dd64845b71fd361583db2cd09f8fac72882278 \
|
||||
size 5301281
|
||||
|
||||
patchfiles-append patch-CMakeLists.txt.diff
|
||||
|
||||
configure.args-append -DIQTREE_FLAGS=omp
|
||||
fetch.type git
|
||||
post-fetch {
|
||||
system -W ${worksrcpath} "git submodule update --init"
|
||||
}
|
||||
|
||||
boost.depends_type build
|
||||
boost.version 1.88
|
||||
|
||||
depends_build-append path:share/pkgconfig/eigen3.pc:eigen3 \
|
||||
port:libomp \
|
||||
port:zlib
|
||||
|
||||
compiler.cxx_standard 2011
|
||||
compiler.cpath-append ${prefix}/include/libomp
|
||||
depends_lib-append port:lsd2
|
||||
|
||||
compiler.cxx_standard 2017
|
||||
compiler.openmp_version 2.5
|
||||
|
||||
configure.args-append -DUSE_CMAPLE=OFF \
|
||||
-DUSE_LSD2=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DIQTREE_TEST=OFF \
|
||||
-DFETCHCONTENT_FULLY_DISCONNECTED=ON \
|
||||
-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
|
||||
|
||||
if {${os.platform} eq "darwin" && ${os.major} < 16} {
|
||||
configure.args-append \
|
||||
-DIQTREE_FLAGS=oldmac
|
||||
}
|
||||
|
||||
if {[string match *clang* ${configure.compiler}]} {
|
||||
configure.cxxflags-append -I${prefix}/include/libomp
|
||||
configure.ldflags-append -L${prefix}/lib/libomp
|
||||
}
|
||||
|
||||
post-destroot {
|
||||
xinstall -d ${destroot}${prefix}/share/doc/${name}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2020-12-17 22:57:53.000000000 -0500
|
||||
+++ CMakeLists.txt 2020-12-17 22:58:49.000000000 -0500
|
||||
@@ -146,14 +146,6 @@
|
||||
add_definitions(-DWIN32)
|
||||
elseif (APPLE)
|
||||
message("Target OS : Mac OS X")
|
||||
- # to be compatible back to Mac OS X 10.7
|
||||
- if (IQTREE_FLAGS MATCHES "oldmac")
|
||||
- add_definitions("-mmacosx-version-min=10.5")
|
||||
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -mmacosx-version-min=10.5")
|
||||
- else()
|
||||
- add_definitions("--target=x86_64-apple-macos10.7")
|
||||
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --target=x86_64-apple-macos10.7")
|
||||
- endif()
|
||||
SET(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
|
||||
elseif (UNIX)
|
||||
message("Target OS : Unix")
|
||||
Reference in New Issue
Block a user