git: fc95cbfd4bd4 - main - devel/qbe: update to version 1.0

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Fri, 15 Jul 2022 20:52:44 UTC
The branch main has been updated by se:

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

commit fc95cbfd4bd4c3b420818ca1f5303905b33efa45
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-07-15 20:47:13 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-07-15 20:52:31 +0000

    devel/qbe: update to version 1.0
---
 devel/qbe/Makefile | 9 +++++----
 devel/qbe/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/devel/qbe/Makefile b/devel/qbe/Makefile
index b43b26674b4a..daac0079bf4e 100644
--- a/devel/qbe/Makefile
+++ b/devel/qbe/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	qbe
-DISTVERSION=	g20220411
+DISTVERSION=	1.0
 CATEGORIES=	devel
 MASTER_SITES=	https://c9x.me/git/qbe.git/snapshot/
-DISTNAME=	qbe-2caa26e388b
 
 MAINTAINER=	se@FreeBSD.org
 COMMENT=	Embeddable compiler backend for C type languages
@@ -12,13 +11,15 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		gmake
 
+TEST_TARGET=	check
+
 OPTIONS_DEFINE=	DOCS
 
 do-build:
-		cd ${WRKSRC}; ${GMAKE}
+		cd ${WRKSRC}; ${GMAKE} CC=cc
 
 do-install:
-		${INSTALL_PROGRAM} ${WRKSRC}/obj/qbe ${STAGEDIR}${PREFIX}/bin
+		${INSTALL_PROGRAM} ${WRKSRC}/qbe ${STAGEDIR}${PREFIX}/bin
 		${MKDIR} ${STAGEDIR}${DOCSDIR}
 		${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}/
 
diff --git a/devel/qbe/distinfo b/devel/qbe/distinfo
index a011990dadcb..5ada856b042a 100644
--- a/devel/qbe/distinfo
+++ b/devel/qbe/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1651151683
-SHA256 (qbe-2caa26e388b.tar.gz) = 508b22d9792016627b56a04c9167e16cd9303c7d35c2630edefdd57a2bfaec4d
-SIZE (qbe-2caa26e388b.tar.gz) = 351810
+TIMESTAMP = 1657318758
+SHA256 (qbe-1.0.tar.gz) = 57838c594c0876602a548e83b5bb0164de86592fcc3c07cb6cc853bdff41206c
+SIZE (qbe-1.0.tar.gz) = 351977