git: 1df2fd6a40dd - main - math/igraph: Use upstream release archive

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 19 Mar 2022 06:29:44 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1df2fd6a40dd5f605eb2a6492c42ea1e641ca280

commit 1df2fd6a40dd5f605eb2a6492c42ea1e641ca280
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-03-19 06:19:25 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-03-19 06:19:29 +0000

    math/igraph: Use upstream release archive
    
    - Define LICENSE_FILE
    - Remove libtool dependency
    - Use DISTVERSION to follow Porters Handbook more closely
    
    PR:             262019
    Reviewed by:    wen (maintainer)
---
 math/igraph/Makefile | 9 +++++----
 math/igraph/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/math/igraph/Makefile b/math/igraph/Makefile
index 7c42e54fbdc7..805db0815e5b 100644
--- a/math/igraph/Makefile
+++ b/math/igraph/Makefile
@@ -1,13 +1,15 @@
 # Created by: Wen Heping <wenheping@gmail.com>
 
 PORTNAME=	igraph
-PORTVERSION=	0.9.6
+DISTVERSION=	0.9.6
 CATEGORIES=	math
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
 
 MAINTAINER=	wen@FreeBSD.org
 COMMENT=	Package For Manipulating Undirected And Directed Graphs
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libarpack.so:math/arpack-ng \
 		libcxsparse.so:math/suitesparse-cxsparse \
@@ -15,8 +17,7 @@ LIB_DEPENDS=	libarpack.so:math/arpack-ng \
 		libgmp.so:math/gmp \
 		libopenblas.so:math/openblas
 
-USES=		bison cmake cpe gnome libtool pathfix
-USE_GITHUB=	yes
+USES=		bison cmake cpe gnome pathfix
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 
@@ -25,7 +26,7 @@ CMAKE_ON=	BUILD_SHARED_LIBS
 BINARY_ALIAS=	git=false
 
 pre-configure:
-	@${ECHO} ${PORTVERSION} > ${WRKSRC}/IGRAPH_VERSION
+	@${ECHO} ${DISTVERSION} > ${WRKSRC}/IGRAPH_VERSION
 
 .include <bsd.port.pre.mk>
 .if (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300523) || \
diff --git a/math/igraph/distinfo b/math/igraph/distinfo
index 8f9bc9212591..f0561bb8c197 100644
--- a/math/igraph/distinfo
+++ b/math/igraph/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644973362
-SHA256 (igraph-igraph-0.9.6_GH0.tar.gz) = 940e24aeae3a0b2711c1a1ccad1fd541148e4bf4ad4080cc11b5495bffd7ccca
-SIZE (igraph-igraph-0.9.6_GH0.tar.gz) = 3098476
+TIMESTAMP = 1645110935
+SHA256 (igraph-0.9.6.tar.gz) = 7c299ec54eecfe413758c332a42c4cb71d02d2951b2ac232584d317c5792f387
+SIZE (igraph-0.9.6.tar.gz) = 3945276