git: b5a3895ad282 - main - devel/librcc: Update to 0.2.13

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 22 Oct 2022 08:10:27 UTC
The branch main has been updated by diizzy:

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

commit b5a3895ad28278663f063604fa5c58eff9af7173
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-22 07:37:46 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-22 07:37:52 +0000

    devel/librcc: Update to 0.2.13
    
    Changelog:
    https://github.com/RusXMMS/librcc/releases/tag/librcc-0.2.13
---
 devel/librcc/Makefile                    | 18 ++++++++----------
 devel/librcc/distinfo                    |  5 +++--
 devel/librcc/files/extrapatch-rcc-config | 11 ++++-------
 devel/librcc/pkg-plist                   |  8 ++++----
 4 files changed, 19 insertions(+), 23 deletions(-)

diff --git a/devel/librcc/Makefile b/devel/librcc/Makefile
index 164e84a40ba3..c1f97fe1ff15 100644
--- a/devel/librcc/Makefile
+++ b/devel/librcc/Makefile
@@ -1,9 +1,6 @@
 PORTNAME=	librcc
-PORTVERSION=	0.2.12
-PORTREVISION=	13
+DISTVERSION=	0.2.13
 CATEGORIES=	devel
-MASTER_SITES=	http://dside.dyndns.org/files/rusxmms/ \
-		LOCAL/fluffy
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library used by rusxmms for language autodetection
@@ -16,20 +13,21 @@ LIB_DEPENDS=	librcd.so:devel/librcd \
 		libenca.so:converters/enca \
 		libaspell.so:textproc/aspell
 
-USES=		compiler:c++11-lang gmake gnome iconv libtool pathfix pkgconfig \
-		tar:bzip2
+USES=		autoreconf compiler:c++11-lang gmake gnome iconv libtool \
+		localbase:ldflags pathfix pkgconfig
+USE_GITHUB=	yes
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
+GH_ACCOUNT=	RusXMMS
+GH_TAGNAME=	${PORTNAME}-${DISTVERSION}
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-gtk1
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 OPTIONS_DEFINE=	BDB TRANSLATE TOOLS GTK2 GTK3
-OPTIONS_DEFAULT=TOOLS GTK2
+OPTIONS_DEFAULT=TOOLS GTK3
 OPTIONS_SUB=	yes
 
 BDB_DESC=		Translation database support
diff --git a/devel/librcc/distinfo b/devel/librcc/distinfo
index f24339a2fa77..00a22a835853 100644
--- a/devel/librcc/distinfo
+++ b/devel/librcc/distinfo
@@ -1,2 +1,3 @@
-SHA256 (librcc-0.2.12.tar.bz2) = 207973fbb73e1e376dad7542af17fe428efece91ea7f92a4efbcee676d2cb74b
-SIZE (librcc-0.2.12.tar.bz2) = 466527
+TIMESTAMP = 1666394574
+SHA256 (RusXMMS-librcc-0.2.13-librcc-0.2.13_GH0.tar.gz) = 112b2e6ea465e34bd28d34d39a9982da16a1cc2b016966123e12075b52833920
+SIZE (RusXMMS-librcc-0.2.13-librcc-0.2.13_GH0.tar.gz) = 190213
diff --git a/devel/librcc/files/extrapatch-rcc-config b/devel/librcc/files/extrapatch-rcc-config
index 057eafb26a38..f412dae5f65e 100644
--- a/devel/librcc/files/extrapatch-rcc-config
+++ b/devel/librcc/files/extrapatch-rcc-config
@@ -1,11 +1,8 @@
---- Makefile.in.orig	2013-11-25 13:56:47.000000000 +1100
-+++ Makefile.in	2013-11-25 13:57:14.868607062 +1100
-@@ -251,7 +251,7 @@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
+--- Makefile.am.orig	2022-10-21 23:32:27 UTC
++++ Makefile.am
+@@ -1,4 +1,4 @@
 -SUBDIRS = src engines external ui
 +SUBDIRS = src engines external ui examples
  DIST_SUBDIRS = ${SUBDIRS} examples
  EXTRA_DIST = librcc.spec
- pkgconfigdir = $(prefix)/libdata/pkgconfig
+ 
diff --git a/devel/librcc/pkg-plist b/devel/librcc/pkg-plist
index 88133fc10d93..e4641111354c 100644
--- a/devel/librcc/pkg-plist
+++ b/devel/librcc/pkg-plist
@@ -5,19 +5,19 @@ include/librccui.h
 lib/librcc.a
 lib/librcc.so
 lib/librcc.so.0
-lib/librcc.so.0.2.12
+lib/librcc.so.0.2.13
 %%GTK2%%lib/librccgtk2.a
 %%GTK2%%lib/librccgtk2.so
 %%GTK2%%lib/librccgtk2.so.0
-%%GTK2%%lib/librccgtk2.so.0.2.12
+%%GTK2%%lib/librccgtk2.so.0.2.13
 %%GTK3%%lib/librccgtk3.a
 %%GTK3%%lib/librccgtk3.so
 %%GTK3%%lib/librccgtk3.so.0
-%%GTK3%%lib/librccgtk3.so.0.2.12
+%%GTK3%%lib/librccgtk3.so.0.2.13
 lib/librccui.a
 lib/librccui.so
 lib/librccui.so.0
-lib/librccui.so.0.2.12
+lib/librccui.so.0.2.13
 lib/rcc/engines/librcd_engine.a
 lib/rcc/engines/librcd_engine.so
 lib/rcc/engines/western_engine.a