git: e62703a4ead4 - main - lang/basic256: update to depend on espeak-ng instead of espeak

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

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

commit e62703a4ead4b64033f6f5ded7b6dc4a8a060d54
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-07-15 14:32:22 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-07-15 14:36:23 +0000

    lang/basic256: update to depend on espeak-ng instead of espeak
    
    Approved by:    portmgr (implicit)
---
 lang/basic256/Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/lang/basic256/Makefile b/lang/basic256/Makefile
index 4f473d85796b..208d70bf9f5e 100644
--- a/lang/basic256/Makefile
+++ b/lang/basic256/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	basic256
 PORTVERSION=	2.0.0.11
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	SF/kidbasic/
 DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
@@ -10,9 +10,9 @@ COMMENT=	Easy to use BASIC language and IDE for education
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	espeak:audio/espeak \
-		sqlite3:databases/sqlite3 \
-		flex:textproc/flex
+BUILD_DEPENDS=	flex:textproc/flex \
+		sqlite3:databases/sqlite3
+LIB_DEPENDS=	libespeak-ng.so:audio/espeak-ng
 
 USES=		bison compiler:c++11-lib dos2unix gl qmake qt:5 sdl
 DOS2UNIX_FILES=	BASIC256.pro Interpreter.cpp
@@ -22,8 +22,11 @@ USE_SDL=	sdl mixer
 QMAKE_ARGS+=	LOCALBASE="${LOCALBASE}"
 QMAKE_SOURCE_PATH=	BASIC256.pro
 
-MAKE_JOBS_UNSAFE=	yes
+#MAKE_JOBS_UNSAFE=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
+post-stage:
+		${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/basic256
+
 .include <bsd.port.mk>