git: cd1602d19b91 - main - devel/sfsexp: Use official tarball

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Fri, 27 May 2022 02:46:22 UTC
The branch main has been updated by jrm:

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

commit cd1602d19b911f19d347b01bbc57fb40f371fa38
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-05-27 02:40:39 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2022-05-27 02:45:17 +0000

    devel/sfsexp: Use official tarball
    
    - The tarballs generated by GitHub can, on rare occasions, change, so
    use the tarball created by upstream.
    
    - Add USES=pathfix, so the pkgconfig file does not need to be manually
    installed.
    
    PR:             264268
---
 devel/sfsexp/Makefile | 12 +++---------
 devel/sfsexp/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/devel/sfsexp/Makefile b/devel/sfsexp/Makefile
index a8ab1d811a7c..9acbd20960f9 100644
--- a/devel/sfsexp/Makefile
+++ b/devel/sfsexp/Makefile
@@ -1,25 +1,19 @@
 PORTNAME=	sfsexp
-DISTVERSIONPREFIX=	v
 DISTVERSION=	1.4.0
 CATEGORIES=	devel
+MASTER_SITES=	https://github.com/mjsottile/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	jrm@FreeBSD.org
 COMMENT=	Small Fast S-Expression Library
 
 LICENSE=	LGPL21+
-LICENSE_FILE=	${WRKSRC}/LICENSE_LGPL
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf libtool pkgconfig
-USE_GITHUB=	yes
-GH_ACCOUNT=	mjsottile
+USES=		libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
 
 INSTALL_TARGET=	install-strip
 
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pc \
-	  ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
-
 .include <bsd.port.mk>
diff --git a/devel/sfsexp/distinfo b/devel/sfsexp/distinfo
index 004d71d24853..30f757cb837c 100644
--- a/devel/sfsexp/distinfo
+++ b/devel/sfsexp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653592851
-SHA256 (mjsottile-sfsexp-v1.4.0_GH0.tar.gz) = ef09aca137957f7f4ef31d0429837cb8647288fb822f40c18d49e21235297594
-SIZE (mjsottile-sfsexp-v1.4.0_GH0.tar.gz) = 115554
+TIMESTAMP = 1653607895
+SHA256 (sfsexp-1.4.0.tar.gz) = 66b3d3a83b781613e04372fa0185518ed00fe1435de116be88cf0fdd3e4c0286
+SIZE (sfsexp-1.4.0.tar.gz) = 455753