git: 142858a3a730 - main - audio/vorbis-tools: Remove support for (lib)kate

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Tue, 06 Dec 2022 21:17:15 UTC
The branch main has been updated by diizzy:

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

commit 142858a3a73005907e2e02dfe30ee27d89cade71
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-12-06 21:06:29 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-12-06 21:17:11 +0000

    audio/vorbis-tools: Remove support for (lib)kate
    
    Obsolete format that never got any traction and no development in over
    10 years
    
    PR:             268180
    Reviewed by:    naddy (maintainer)
---
 audio/vorbis-tools/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/audio/vorbis-tools/Makefile b/audio/vorbis-tools/Makefile
index a013ac4a8c79..c4dfbb33ed61 100644
--- a/audio/vorbis-tools/Makefile
+++ b/audio/vorbis-tools/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	vorbis-tools
 PORTVERSION=	1.4.2
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	3
 CATEGORIES=	audio
 MASTER_SITES=	https://downloads.xiph.org/releases/vorbis/
@@ -15,18 +15,16 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libao.so:audio/libao \
 		libcurl.so:ftp/curl \
 		libFLAC.so:audio/flac \
-		libkate.so:multimedia/libkate \
 		libogg.so:audio/libogg \
 		libopusfile.so:audio/opusfile \
 		libspeex.so:audio/speex \
 		libvorbis.so:audio/libvorbis
 
-USES=		cpe iconv pkgconfig
+USES=		cpe iconv localbase:ldflags pkgconfig
 CPE_VENDOR=	xiph
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	PTHREAD_LIBS="-lpthread"
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ARGS=	--without-kate
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes