git: 8a1ec0de6bd5 - main - biology/iqtree: Update to 2.2.2.7

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Tue, 05 Sep 2023 02:51:43 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8a1ec0de6bd5a7f16bd4967023f46d50fcd13aed

commit 8a1ec0de6bd5a7f16bd4967023f46d50fcd13aed
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-09-04 02:05:51 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-09-05 02:45:37 +0000

    biology/iqtree: Update to 2.2.2.7
    
    Changes:        https://github.com/iqtree/iqtree2/releases/tag/v2.2.2.7
    Sponsored by:   The FreeBSD Foundation
---
 biology/iqtree/Makefile                   | 12 ++++++------
 biology/iqtree/distinfo                   |  8 +++++---
 biology/iqtree/files/patch-CMakeLists.txt | 10 +++++-----
 3 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/biology/iqtree/Makefile b/biology/iqtree/Makefile
index f6d1014747aa..fc5668b4005a 100644
--- a/biology/iqtree/Makefile
+++ b/biology/iqtree/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	iqtree
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.0.6
-PORTREVISION=	5
+DISTVERSION=	2.2.2.7
 CATEGORIES=	biology
 
 MAINTAINER=	jrm@FreeBSD.org
@@ -19,13 +18,14 @@ BROKEN_powerpc64=	fails to build: GCC version must be at least 4.8!
 
 LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs
 
-USES=		cmake compiler:c++11-lang eigen:3
+USES=		cmake eigen:3
 USE_GITHUB=	yes
-GH_ACCOUNT=	Cibiv
-GH_PROJECT=	IQ-TREE
+GH_PROJECT=	iqtree2
+GH_TUPLE=	tothuhien:lsd2:26ba127:iqtree2/lsd2
 
 PLIST_FILES=	bin/iqtree
-PORTEXAMPLES=	example.cf example.nex example.phy models.nex
+PORTEXAMPLES=	custom_distributions.txt example.cf example.nex example.phy \
+		models.nex tree.nwk
 
 OPTIONS_DEFINE=	EXAMPLES
 
diff --git a/biology/iqtree/distinfo b/biology/iqtree/distinfo
index 66b7e2e26f98..d42a9dfcb32d 100644
--- a/biology/iqtree/distinfo
+++ b/biology/iqtree/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1590834014
-SHA256 (Cibiv-IQ-TREE-v2.0.6_GH0.tar.gz) = 64cdad4a9aff7cbeb27512c0127c4e85fb7f2a5dee51adc9109143fb6191a42e
-SIZE (Cibiv-IQ-TREE-v2.0.6_GH0.tar.gz) = 5265191
+TIMESTAMP = 1693790511
+SHA256 (iqtree-iqtree2-v2.2.2.7_GH0.tar.gz) = 407a1a56d352ba9c2152a1d708cd29db872a41c252fbdc7acd8e0de0da8af008
+SIZE (iqtree-iqtree2-v2.2.2.7_GH0.tar.gz) = 6088089
+SHA256 (tothuhien-lsd2-26ba127_GH0.tar.gz) = 63226da0e326d9fc47c54e8e380d48e51e923ccc25bd7f286d49b9f49028d1c4
+SIZE (tothuhien-lsd2-26ba127_GH0.tar.gz) = 1079490
diff --git a/biology/iqtree/files/patch-CMakeLists.txt b/biology/iqtree/files/patch-CMakeLists.txt
index 6bf4993090a9..d52f30670d91 100644
--- a/biology/iqtree/files/patch-CMakeLists.txt
+++ b/biology/iqtree/files/patch-CMakeLists.txt
@@ -1,9 +1,9 @@
---- CMakeLists.txt.orig	2021-01-11 20:50:45 UTC
+--- CMakeLists.txt.orig	2023-09-05 01:20:58 UTC
 +++ CMakeLists.txt
-@@ -323,7 +323,7 @@ if (NOT IQTREE_FLAGS MATCHES "single")
- 
-     if(CLANG AND APPLE)
-         link_directories(${PROJECT_SOURCE_DIR}/libmac)
+@@ -398,7 +398,7 @@ if (NOT IQTREE_FLAGS MATCHES "single")
+     	else()
+         	link_directories(${PROJECT_SOURCE_DIR}/libmac)
+         endif()	
 -    elseif (WIN32 OR UNIX)
 +    elseif (WIN32 OR UNIX AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
          if (BINARY32)