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]
This commit is contained in:
Stefan Eßer 2020-10-25 13:29:43 +00:00
parent e8de086635
commit 346c9eb6a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553266
2 changed files with 10 additions and 9 deletions

View File

@ -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 <bsd.port.pre.mk>

View File

@ -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