git: d6c0439936c2 - main - audio/sphinx3: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 24 Dec 2023 18:53:00 UTC
The branch main has been updated by bofh:

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

commit d6c0439936c2ee7729edce677b685597cc07dda0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-24 18:36:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-24 18:52:45 +0000

    audio/sphinx3: Mark DEPRECATED
    
    - Add LICENSE BSD2CLAUSE
    - Last upstream release was in 2009
    - Upstream advises to use audio/pocketsphinx
    - Set EXPIRATION_DATE 2024-01-25
    - Pet portclippy
---
 audio/sphinx3/Makefile | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/audio/sphinx3/Makefile b/audio/sphinx3/Makefile
index a61cb0e36b0c..2ab11b05e6e0 100644
--- a/audio/sphinx3/Makefile
+++ b/audio/sphinx3/Makefile
@@ -8,20 +8,23 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Speech recognition system
 WWW=		http://www.speech.cs.cmu.edu/sphinx/
 
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+DEPRECATED=	Upstream advises on using audio/pocketsphinx
+EXPIRATION_DATE=	2024-01-25
+
 LIB_DEPENDS=	libsphinxbase.so:audio/sphinxbase
 
-USES=		gmake pathfix libtool
-GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
+USES=		gmake libtool localbse:ldflags pathfix
 USE_CSTD=	gnu99
-MAKE_JOBS_UNSAFE=	yes
+USE_LDCONFIG=	yes
 
-CFLAGS+=	-I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
-CXXFLAGS+=	-I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
-LDFLAGS+=	-L${LOCALBASE}/lib
+GNU_CONFIGURE=	yes
 
 MAKE_ENV=	MKDIR="${MKDIR}" \
 		OSVERSION=${OSVERSION}
+MAKE_JOBS_UNSAFE=	yes
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libs3decoder.so