git: 5b84e56e9707 - main - math/lrcalc: Use upstream release archive and improve port

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 08 Feb 2025 15:05:25 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5b84e56e9707cbf8353b42fd3cdf992f2f159c8f

commit 5b84e56e9707cbf8353b42fd3cdf992f2f159c8f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-02-08 11:24:56 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-02-08 13:51:16 +0000

    math/lrcalc: Use upstream release archive and improve port
    
    * Use upstream release archive
    * Remove USES= autoreconf
    * Adjust Makefile to closer follow Porters Handbook / ports tree
    
    PR:             284136
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 math/lrcalc/Makefile | 13 +++++--------
 math/lrcalc/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/math/lrcalc/Makefile b/math/lrcalc/Makefile
index 53b2e5923253..02207f89ee34 100644
--- a/math/lrcalc/Makefile
+++ b/math/lrcalc/Makefile
@@ -1,9 +1,7 @@
 PORTNAME=	lrcalc
-PORTVERSION=	2.1
+DISTVERSION=	2.1
 CATEGORIES=	math
-MASTER_SITES=	https://bitbucket.org/asbuch/lrcalc/get/
-# https://sites.math.rutgers.edu/~asbuch/lrcalc/
-DISTNAME=	4c6c01f19f354c273cb16b5043928c34b1a2fb3c
+MASTER_SITES=	https://sites.math.rutgers.edu/~asbuch/lrcalc/
 
 MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	Littlewood-Richardson Calculator
@@ -11,13 +9,12 @@ WWW=		https://sites.math.rutgers.edu/~asbuch/lrcalc/
 
 LICENSE=	GPLv2+
 
-USES=		autoreconf libtool tar:bz2
+USES=		libtool
+USE_LDCONFIG=	yes
 
-WRKSRC=		${WRKDIR}/asbuch-lrcalc-4c6c01f19f35
 GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
-INSTALL_TARGET=	install-strip
 
+INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
 .include <bsd.port.mk>
diff --git a/math/lrcalc/distinfo b/math/lrcalc/distinfo
index c83afa0828b2..c58e4df93f18 100644
--- a/math/lrcalc/distinfo
+++ b/math/lrcalc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699613646
-SHA256 (4c6c01f19f354c273cb16b5043928c34b1a2fb3c.tar.bz2) = 3868dbcb175a98fdbe7f75dad601729292a6157839bae121a96bb322096a2b6c
-SIZE (4c6c01f19f354c273cb16b5043928c34b1a2fb3c.tar.bz2) = 46868
+TIMESTAMP = 1737212819
+SHA256 (lrcalc-2.1.tar.gz) = 996ac00e6ea8321ef09b34478f5379f613933c3254aeba624b6419b8afa5df57
+SIZE (lrcalc-2.1.tar.gz) = 425484