Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2024 16:45:59 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f97dbeba6742 - main - science/harminv: update 1.3.1 =?utf-8?Q?=E2=86=92?= 1.4.2; add shared libraries
Message-ID:  <202410111645.49BGjxDu074369@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit f97dbeba6742c1f6476a4a081a0d04090eed95ec
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-11 15:19:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-11 16:45:56 +0000

    science/harminv: update 1.3.1 → 1.4.2; add shared libraries
    
    PR:     281283
    Approved by:    devel@stasyan.com (maintainer's timeout; 36 days)
---
 science/harminv/Makefile  | 25 ++++++++++++++-----------
 science/harminv/distinfo  |  5 +++--
 science/harminv/pkg-plist |  3 +++
 science/meep/Makefile     |  2 +-
 4 files changed, 21 insertions(+), 14 deletions(-)

diff --git a/science/harminv/Makefile b/science/harminv/Makefile
index bc27f06d90b9..47a27113d668 100644
--- a/science/harminv/Makefile
+++ b/science/harminv/Makefile
@@ -1,21 +1,24 @@
 PORTNAME=	harminv
-PORTVERSION=	1.3.1
-PORTREVISION=	23
+DISTVERSION=	1.4.2
 CATEGORIES=	science
-MASTER_SITES=	http://ab-initio.mit.edu/harminv/
+MASTER_SITES=	https://github.com/NanoComp/harminv/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	devel@stasyan.com
 COMMENT=	Solver of harmonic inversion
-WWW=		http://ab-initio.mit.edu/wiki/index.php/Harminv
+WWW=		https://github.com/NanoComp/harminv/
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libopenblas.so:math/openblas
 
 USES=		blaslapack fortran gmake libtool pathfix
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-USE_GCC=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include -fPIC
-LD_LIBRARY_PATH=	-L${LOCALBASE}/lib -L/usr/lib
-LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ENV+=	LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
 USE_LDCONFIG=	yes
 
+GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ARGS=	--enable-shared
+
+INSTALL_TARGET=	install-strip
+
 .include <bsd.port.mk>
diff --git a/science/harminv/distinfo b/science/harminv/distinfo
index 36e3451fde31..b9cdd47159bb 100644
--- a/science/harminv/distinfo
+++ b/science/harminv/distinfo
@@ -1,2 +1,3 @@
-SHA256 (harminv-1.3.1.tar.gz) = 245778c16390c22850de3fb716c3db19514d40415ee3693293bfe59c66536583
-SIZE (harminv-1.3.1.tar.gz) = 327832
+TIMESTAMP = 1725520346
+SHA256 (harminv-1.4.2.tar.gz) = 5a9a1bf710972442f065d0d62c62d0c4ec3da4a3696d7160a35602c9470bc7a2
+SIZE (harminv-1.4.2.tar.gz) = 459325
diff --git a/science/harminv/pkg-plist b/science/harminv/pkg-plist
index 3a115a69715c..f0417f6f7c4b 100644
--- a/science/harminv/pkg-plist
+++ b/science/harminv/pkg-plist
@@ -1,5 +1,8 @@
 bin/harminv
 include/harminv.h
 lib/libharminv.a
+lib/libharminv.so
+lib/libharminv.so.3
+lib/libharminv.so.3.0.1
 libdata/pkgconfig/harminv.pc
 share/man/man1/harminv.1.gz
diff --git a/science/meep/Makefile b/science/meep/Makefile
index 0554526c19a5..8569b0b6dbf7 100644
--- a/science/meep/Makefile
+++ b/science/meep/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	meep
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.29.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	science cad
 
 MAINTAINER=	yuri@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410111645.49BGjxDu074369>