Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2020 13:22:24 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553265 - head/sysutils/fusefs-libs
Message-ID:  <202010251322.09PDMOMd077085@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Sun Oct 25 13:22:24 2020
New Revision: 553265
URL: https://svnweb.freebsd.org/changeset/ports/553265

Log:
  Clean-up Makefile
  
  Use release archive as suggested by section 5.4.3 in Porter's Handbook. [1]
  Remove --prefix= as this is already passed by the framework. [1]
  
  While here re-arrange the definitions and targets based on portclippy.
  
  No change to the generated package, thus no change to the port revision.
  
  PR:	     	250041
  Submitted by:	daniel.engberg.lists@pyret.net [1]

Modified:
  head/sysutils/fusefs-libs/Makefile
  head/sysutils/fusefs-libs/distinfo

Modified: head/sysutils/fusefs-libs/Makefile
==============================================================================
--- head/sysutils/fusefs-libs/Makefile	Sun Oct 25 12:35:21 2020	(r553264)
+++ head/sysutils/fusefs-libs/Makefile	Sun Oct 25 13:22:24 2020	(r553265)
@@ -2,11 +2,12 @@
 # $FreeBSD$
 
 PORTNAME=	fusefs
-DISTVERSIONPREFIX=	fuse-
 DISTVERSION=	2.9.9
 PORTREVISION=	1
 CATEGORIES=	sysutils
+MASTER_SITES=	https://github.com/libfuse/libfuse/releases/download/fuse-${DISTVERSION}/
 PKGNAMESUFFIX=	-libs
+DISTNAME=	fuse-${DISTVERSION}
 
 MAINTAINER=	se@FreeBSD.org
 COMMENT=	FUSE allows filesystem implementation in userspace
@@ -16,19 +17,16 @@ LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
 IGNORE_DragonFly=	fusefs has not been implemented on DragonFly
 
-PORTSCOUT=	limit:^2\.
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	libfuse
-GH_PROJECT=	libfuse
-
 USES=		autoreconf gettext-tools iconv libtool
+USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
 CONFIGURE_ENV=	MOUNT_FUSE_PATH=${PREFIX}/sbin
-CONFIGURE_ARGS=	--prefix=${PREFIX} \
-		--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
 INSTALL_TARGET=	install-strip
-USE_LDCONFIG=	yes
+
+PORTSCOUT=	limit:^2\.
+
 PLIST_SUB=	VERSION=${PORTVERSION}
 PORTDOCS=	*
 
@@ -37,11 +35,11 @@ OPTIONS_DEFINE=	DOCS
 pre-configure:
 	${CP} ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}
 
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/include/fuse_kernel.h ${STAGEDIR}${PREFIX}/include/fuse
-
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/libs
 	${INSTALL_DATA} ${WRKSRC}/doc/how-fuse-works ${WRKSRC}/doc/kernel.txt ${STAGEDIR}${DOCSDIR}/libs
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/include/fuse_kernel.h ${STAGEDIR}${PREFIX}/include/fuse
 
 .include <bsd.port.mk>

Modified: head/sysutils/fusefs-libs/distinfo
==============================================================================
--- head/sysutils/fusefs-libs/distinfo	Sun Oct 25 12:35:21 2020	(r553264)
+++ head/sysutils/fusefs-libs/distinfo	Sun Oct 25 13:22:24 2020	(r553265)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546701052
-SHA256 (libfuse-libfuse-fuse-2.9.9_GH0.tar.gz) = e57a24721177c3b3dd71cb9239ca46b4dee283db9388d48f7ccd256184982194
-SIZE (libfuse-libfuse-fuse-2.9.9_GH0.tar.gz) = 212017
+TIMESTAMP = 1601617112
+SHA256 (fuse-2.9.9.tar.gz) = d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5
+SIZE (fuse-2.9.9.tar.gz) = 1813177



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