git: 111883d462a4 - main - sysutils/smartmontools: update to 7.5

From: Oleksii Samorukov <samm_at_FreeBSD.org>
Date: Mon, 12 May 2025 06:40:47 UTC
The branch main has been updated by samm:

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

commit 111883d462a44ecf4f5a0fbbb5ce0b34e38c7169
Author:     Oleksii Samorukov <samm@FreeBSD.org>
AuthorDate: 2025-05-12 06:39:13 +0000
Commit:     Oleksii Samorukov <samm@FreeBSD.org>
CommitDate: 2025-05-12 06:39:13 +0000

    sysutils/smartmontools: update to 7.5
    
    PR: 286543
    ChangeLog: https://www.smartmontools.org/browser/tags/RELEASE_7_5/smartmontools/NEWS
    Reported by: Daniel Engberg
---
 sysutils/smartmontools/Makefile | 23 +++++++++++++----------
 sysutils/smartmontools/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile
index 7cdd2f08a275..85d841432579 100644
--- a/sysutils/smartmontools/Makefile
+++ b/sysutils/smartmontools/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	smartmontools
-DISTVERSION=	7.4
-PORTREVISION=	2
+DISTVERSION=	7.5
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 
@@ -11,26 +10,30 @@ WWW=		https://www.smartmontools.org
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		compiler:c++11-lib cpe shebangfix
+USES=		compiler:c++11-lib cpe
+
 USE_RC_SUBR=	smartd
 
-SHEBANG_FILES=	examplescripts/Example5
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+
+PORTDOCS=	*
+SUB_FILES=	pkg-message smart
+
 CONFIGURE_ARGS=	--disable-dependency-tracking \
 		--enable-sample \
 		--with-gnupg=yes \
 		--with-initscriptdir=${PREFIX}/etc/rc.d \
 		--with-nvme-devicescan=yes
 
-SUB_FILES=	pkg-message smart
-
-PORTDOCS=	*
-
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	@${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's| install-initdDATA| |g' \
+	    ${PATCH_WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|install-drivedbinstDATA install-examplesDATA|install-drivedbinstDATA|g' \
+	    ${PATCH_WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|install-examplesSCRIPTS  install-man|install-man|g' \
+	    ${PATCH_WRKSRC}/Makefile.in
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
diff --git a/sysutils/smartmontools/distinfo b/sysutils/smartmontools/distinfo
index 1f03708cea1b..b80ab90f24f2 100644
--- a/sysutils/smartmontools/distinfo
+++ b/sysutils/smartmontools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1690890805
-SHA256 (smartmontools-7.4.tar.gz) = e9a61f641ff96ca95319edfb17948cd297d0cd3342736b2c49c99d4716fb993d
-SIZE (smartmontools-7.4.tar.gz) = 1094955
+TIMESTAMP = 1746144306
+SHA256 (smartmontools-7.5.tar.gz) = 690b83ca331378da9ea0d9d61008c4b22dde391387b9bbad7f29387f2595f76e
+SIZE (smartmontools-7.5.tar.gz) = 1122317