git: d55dd2b0b189 - main - audio/py-pocketsphinx: Use swig40 instead of swig

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 13 Jul 2024 20:41:58 UTC
The branch main has been updated by sunpoet:

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

commit d55dd2b0b1898f9d4a6df2f231972f5858e4c007
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-13 20:18:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-13 20:18:56 +0000

    audio/py-pocketsphinx: Use swig40 instead of swig
    
    - Bump PORTREVISION for package change
    
    Note that the repository has been archived by the owner on Jun 27, 2023.
    
    PR:             279489
    Reference:      https://github.com/bambocher/pocketsphinx-python
---
 audio/py-pocketsphinx/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/audio/py-pocketsphinx/Makefile b/audio/py-pocketsphinx/Makefile
index 20c8b7350ea2..ffd5a691eef8 100644
--- a/audio/py-pocketsphinx/Makefile
+++ b/audio/py-pocketsphinx/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pocketsphinx
 PORTVERSION=	0.1.15
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ WWW=	https://github.com/bambocher/pocketsphinx-python
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	swig>0:devel/swig
+BUILD_DEPENDS=	swig40>0:devel/swig40
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libpulse-simple.so:audio/pulseaudio \
 		libpulse.so:audio/pulseaudio
@@ -20,6 +20,7 @@ LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 USES=	python
 USE_PYTHON=	distutils
 
+BINARY_ALIAS=	swig=swig40
 CFLAGS+=	-I${LOCALBASE}/include
 
 post-install: