From 346c9eb6a1769f2e3880e8e124ff73db76136ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Sun, 25 Oct 2020 13:29:43 +0000 Subject: [PATCH] Clean-up Makefile Use release archive as suggested by section 5.4.3 in Porter's Handbook. [1] Add USES= iconv and LDFLAGS to properly detect iconv. [1] While here change order of definitions as requested by portclippy. No change to the generated package, thus no change to the port revision. PR: 250252 Submitted by: daniel.engberg.lists@pyret.net [1] --- sysutils/fusefs-libs3/Makefile | 13 +++++++------ sysutils/fusefs-libs3/distinfo | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/sysutils/fusefs-libs3/Makefile b/sysutils/fusefs-libs3/Makefile index 6ea0007ada0a..808015cd85c7 100644 --- a/sysutils/fusefs-libs3/Makefile +++ b/sysutils/fusefs-libs3/Makefile @@ -2,9 +2,11 @@ # $FreeBSD$ PORTNAME= fusefs-libs3 -DISTVERSIONPREFIX= fuse- DISTVERSION= 3.10.0 +PORTREVISION= 1 CATEGORIES= sysutils +MASTER_SITES= https://github.com/libfuse/libfuse/releases/download/fuse-${DISTVERSION}/ +DISTNAME= fuse-${DISTVERSION} MAINTAINER= se@FreeBSD.org COMMENT= FUSE library version 3 for filesystems implemented in userspace @@ -13,13 +15,12 @@ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/LICENSE -USES= compiler meson +USES= compiler iconv meson tar:xz USE_LDCONFIG= yes -PLIST_SUB= VERSION=${PORTVERSION} -USE_GITHUB= yes -GH_ACCOUNT= libfuse -GH_PROJECT= libfuse +LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} + +PLIST_SUB= VERSION=${PORTVERSION} .include diff --git a/sysutils/fusefs-libs3/distinfo b/sysutils/fusefs-libs3/distinfo index 159a2a368ed9..efb1e9bee608 100644 --- a/sysutils/fusefs-libs3/distinfo +++ b/sysutils/fusefs-libs3/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1602242053 -SHA256 (libfuse-libfuse-fuse-3.10.0_GH0.tar.gz) = 52bbb52035f7eeaa54d139e21805d357f848f6e02ac956831d04988165a92c7b -SIZE (libfuse-libfuse-fuse-3.10.0_GH0.tar.gz) = 773832 +TIMESTAMP = 1602349107 +SHA256 (fuse-3.10.0.tar.xz) = 26517954567f237a7dbcb532755ba0d2c77575c5d90db7566b6e40ec05b0a039 +SIZE (fuse-3.10.0.tar.xz) = 1899596