git: b17a5f979db8 - main - textproc/discount: Update to 2.2.7c

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Jun 2023 13:18:38 UTC
The branch main has been updated by sunpoet:

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

commit b17a5f979db807de0ef76a968ebc23007a555303
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 13:17:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 13:17:19 +0000

    textproc/discount: Update to 2.2.7c
    
    - Update WWW
    - Use USES=pathfix to fix .pc installation
    - Remove MAKE_JOBS_UNSAFE: it is no longer an issue
    
    Changes:        https://github.com/Orc/discount/commits/main
---
 textproc/discount/Makefile | 14 +++++++++-----
 textproc/discount/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/textproc/discount/Makefile b/textproc/discount/Makefile
index bec1db4494e5..80b5d73c2720 100644
--- a/textproc/discount/Makefile
+++ b/textproc/discount/Makefile
@@ -1,26 +1,30 @@
 PORTNAME=	discount
-PORTVERSION=	2.2.7b
+PORTVERSION=	2.2.7c
+DISTVERSIONPREFIX=	v
 CATEGORIES=	textproc devel
-MASTER_SITES=	https://www.pell.portland.or.us/~orc/Code/discount/
+#MASTER_SITES=	https://www.pell.portland.or.us/~orc/Code/discount/
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	C implementation of the Markdown markup language
-WWW=		https://www.pell.portland.or.us/~orc/Code/discount/
+WWW=		https://www.pell.portland.or.us/~orc/Code/discount/ \
+		https://github.com/Orc/discount
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-USES=		cpe pkgconfig tar:bz2
+USES=		cpe pathfix pkgconfig tar:bz2
 
 CFLAGS+=	-fPIC
 CONFIGURE_ARGS=	--mandir=${PREFIX}/share/man --prefix=${PREFIX} --shared
 CONFIGURE_SCRIPT=	configure.sh
 HAS_CONFIGURE=	yes
-MAKE_JOBS_UNSAFE=	yes # libmarkdown is used before it is built
 INSTALL_TARGET=	install install.man
 TEST_TARGET=	test
 USE_LDCONFIG=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	Orc
+
 CONFLICTS_INSTALL=	markdown
 
 CPE_VENDOR=	discount_project
diff --git a/textproc/discount/distinfo b/textproc/discount/distinfo
index 15779c76423a..c06a5868f7a1 100644
--- a/textproc/discount/distinfo
+++ b/textproc/discount/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663672756
-SHA256 (discount-2.2.7b.tar.bz2) = b9368cc2063831635f9e790d0c4c338c2b4b72658cdc244323241bfcddf6ffd5
-SIZE (discount-2.2.7b.tar.bz2) = 102685
+TIMESTAMP = 1686496698
+SHA256 (Orc-discount-v2.2.7c_GH0.tar.gz) = 5c5139f1f88e83de86169bee3fde4ebd0e1b0798643dc9065b73dc19dbce07b3
+SIZE (Orc-discount-v2.2.7c_GH0.tar.gz) = 133282