git: 4070cc4c4b9d - main - archivers/lhasa: Update to 0.4.0

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sun, 15 Sep 2024 06:14:57 UTC
The branch main has been updated by uzsolt:

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

commit 4070cc4c4b9d7d8878db9045edc9af63b1db0ec5
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-09-15 06:12:02 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-09-15 06:14:45 +0000

    archivers/lhasa: Update to 0.4.0
    
    Add TEST_TARGETS and TEST_DEPENDS.
    Switch to DISTVERSION.
    Pet portlint, portfmt.
    
    Changelog: https://github.com/fragglet/lhasa/blob/master/NEWS
    
    PR:             277586
    Approved by:    maintainer timeout (2+ weeks)
---
 archivers/lhasa/Makefile | 20 ++++++++++----------
 archivers/lhasa/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/archivers/lhasa/Makefile b/archivers/lhasa/Makefile
index bdf1faa7ebb3..f22d31528e34 100644
--- a/archivers/lhasa/Makefile
+++ b/archivers/lhasa/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	lhasa
-PORTVERSION=	0.3.1
-PORTREVISION=	1
+DISTVERSION=	0.4.0
 CATEGORIES=	archivers
 MASTER_SITES=	https://soulsphere.org/projects/lhasa/ \
 		http://suyai.innolan.net/
@@ -12,22 +11,23 @@ WWW=		https://fragglet.github.io/lhasa/
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf cpe pathfix libtool
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+TEST_DEPENDS=	bash>0:shells/bash
+
+USES=		autoreconf cpe libtool pathfix
+CPE_VENDOR=	lhasa_project
 USE_LDCONFIG=	yes
+
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--program-suffix=sa
 INSTALL_TARGET=	install-strip
-CPE_VENDOR=	lhasa_project
+TEST_TARGET=	check
 
-PORTDOCS=	ChangeLog README AUTHORS TODO NEWS
+PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
 
 OPTIONS_DEFINE=	DOCS
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
-.endfor
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>
diff --git a/archivers/lhasa/distinfo b/archivers/lhasa/distinfo
index 50a197e54cc3..69a4ac1df06b 100644
--- a/archivers/lhasa/distinfo
+++ b/archivers/lhasa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1468768769
-SHA256 (lhasa-0.3.1.tar.gz) = 3fb08e5f85a9b9dd023922896be9157d5fb5c0448424681810aaa2b0558a5f24
-SIZE (lhasa-0.3.1.tar.gz) = 2933084
+TIMESTAMP = 1710720015
+SHA256 (lhasa-0.4.0.tar.gz) = a7fc883c304c508562fb93fa307a4c342b0c886fcc265f28b92dc0c39220c5b3
+SIZE (lhasa-0.4.0.tar.gz) = 3503963