Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2024 22:37:13 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: eb9483669a70 - main - sysutils/fusefs-squashfuse: Improve port
Message-ID:  <202410272237.49RMbDAr004177@gitrepo.freebsd.org>

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

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

commit eb9483669a70bc39c2bbbe64c98a16179f385b85
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-10-27 22:34:52 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-10-27 22:34:56 +0000

    sysutils/fusefs-squashfuse: Improve port
    
    * Switch from PORTVERSION to DISTVERSION
    * Use USES= fuse:3 helper
    * Remove USES= autoreconf
    * Define dependency for liblzo2, liblz4 and libzstd
    * Remove GNU_CONFIGURE_MANPREFIX
    * Don't build static libs
    * Set pkgconfigdir
    
    PR:             282349
    Reviewed by:    Jesse Smith <jsmith@resonatingmedia.com> (maintainer)
---
 sysutils/fusefs-squashfuse/Makefile  | 13 +++++++++----
 sysutils/fusefs-squashfuse/distinfo  |  2 +-
 sysutils/fusefs-squashfuse/pkg-plist |  2 --
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/sysutils/fusefs-squashfuse/Makefile b/sysutils/fusefs-squashfuse/Makefile
index 9eb5fe08c4bb..fe3cca75ea80 100644
--- a/sysutils/fusefs-squashfuse/Makefile
+++ b/sysutils/fusefs-squashfuse/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	squashfuse
-PORTVERSION=	0.5.2
+DISTVERSION=	0.5.2
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://github.com/vasi/${PORTNAME}/releases/download/${DISTVERSION}/
 PKGNAMEPREFIX=	fusefs-
@@ -11,14 +12,18 @@ WWW=		https://github.com/vasi/squashfuse
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libfuse3.so:sysutils/fusefs-libs3
+LIB_DEPENDS=	liblzo2.so:archivers/lzo2 \
+		liblz4.so:archivers/liblz4 \
+		libzstd.so:archivers/zstd
 
-USES=		autoreconf fuse libtool pkgconfig
+USES=		fuse:3 libtool localbase:ldflags pkgconfig
 USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
 
 INSTALL_TARGET=	install-strip
 
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ARGS=	--disable-static \
+		--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
 
 .include <bsd.port.mk>
diff --git a/sysutils/fusefs-squashfuse/distinfo b/sysutils/fusefs-squashfuse/distinfo
index 104aa7d24b8c..430954dba40e 100644
--- a/sysutils/fusefs-squashfuse/distinfo
+++ b/sysutils/fusefs-squashfuse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729969939
+TIMESTAMP = 1730016280
 SHA256 (squashfuse-0.5.2.tar.gz) = 54e4baaa20796e86a214a1f62bab07c7c361fb7a598375576d585712691178f5
 SIZE (squashfuse-0.5.2.tar.gz) = 438619
diff --git a/sysutils/fusefs-squashfuse/pkg-plist b/sysutils/fusefs-squashfuse/pkg-plist
index c821d6db7ccf..c895195a0a6c 100644
--- a/sysutils/fusefs-squashfuse/pkg-plist
+++ b/sysutils/fusefs-squashfuse/pkg-plist
@@ -15,11 +15,9 @@ include/squashfuse/table.h
 include/squashfuse/traverse.h
 include/squashfuse/util.h
 include/squashfuse/xattr.h
-lib/libsquashfuse.a
 lib/libsquashfuse.so
 lib/libsquashfuse.so.0
 lib/libsquashfuse.so.0.0.0
-lib/libsquashfuse_ll.a
 lib/libsquashfuse_ll.so
 lib/libsquashfuse_ll.so.0
 lib/libsquashfuse_ll.so.0.0.0



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