git: ca46ad8c2af1 - main - deskutils/belcard: Update version 1.0.2=>5.1.32

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 15 Jun 2022 20:44:47 UTC
The branch main has been updated by bofh:

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

commit ca46ad8c2af17368d6c2f11854e8b6b423c23455
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-06-15 20:05:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-15 20:44:41 +0000

    deskutils/belcard: Update version 1.0.2=>5.1.32
    
    - Switch MASTER_SITES to GL_SITE
    - Take MAINTAINERSHIP
    - Switch LICENSE from GPLv2+ to GPLv3
    
    Relnotes: https://gitlab.linphone.org/BC/public/bzrtp/-/tags/5.1.32
---
 deskutils/belcard/Makefile  | 20 ++++++++++++--------
 deskutils/belcard/distinfo  |  6 +++---
 deskutils/belcard/pkg-plist |  7 ++++---
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/deskutils/belcard/Makefile b/deskutils/belcard/Makefile
index 617e65db68f8..60a2c769056b 100644
--- a/deskutils/belcard/Makefile
+++ b/deskutils/belcard/Makefile
@@ -1,22 +1,26 @@
 PORTNAME=	belcard
-PORTVERSION=	1.0.2
-PORTREVISION=	2
+DISTVERSION=	5.1.32
 CATEGORIES=	deskutils
-MASTER_SITES=	https://www.linphone.org/releases/sources/belcard/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	vCard support library
 
-LICENSE=	GPLv2+
-LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 LIB_DEPENDS=	libbctoolbox.so:net/bctoolbox \
 		libbelr.so:textproc/belr
 
 USES=		cmake compiler:c++11-lib
+USE_GITLAB=	yes
+GL_SITE=	https://gitlab.linphone.org/BC
+GL_ACCOUNT=	public
+GL_COMMIT=	c7b1b58765bf5c99822025e77d0bc13cea82c719
 USE_LDCONFIG=	yes
 
-CMAKE_ARGS=	-DENABLE_STATIC=NO -DENABLE_STRICT=NO -DENABLE_UNIT_TESTS=NO
-WRKSRC=		${WRKDIR}/${DISTNAME}-0
+CMAKE_ARGS=	-DCMAKE_PREFIX_PATH=${LOCALBASE} \
+		-DENABLE_STATIC=NO \
+		-DENABLE_STRICT=NO \
+		-DENABLE_UNIT_TESTS=NO
 
 .include <bsd.port.mk>
diff --git a/deskutils/belcard/distinfo b/deskutils/belcard/distinfo
index 78caaebf8ebf..9185d6af45f9 100644
--- a/deskutils/belcard/distinfo
+++ b/deskutils/belcard/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1539599261
-SHA256 (belcard-1.0.2.tar.gz) = 1350f63bd183e5d8b05afa7673726362a55e196e7bde600a58cb421d28cd3e46
-SIZE (belcard-1.0.2.tar.gz) = 197955
+TIMESTAMP = 1655322641
+SHA256 (public-belcard-c7b1b58765bf5c99822025e77d0bc13cea82c719_GL0.tar.gz) = a61dfe9373aee563c37455844c2d3aaebc294046bf5b573fb0f035ca50ba96fd
+SIZE (public-belcard-c7b1b58765bf5c99822025e77d0bc13cea82c719_GL0.tar.gz) = 201387
diff --git a/deskutils/belcard/pkg-plist b/deskutils/belcard/pkg-plist
index d921abcbf802..e65e22cef676 100644
--- a/deskutils/belcard/pkg-plist
+++ b/deskutils/belcard/pkg-plist
@@ -20,6 +20,7 @@ include/belcard/belcard_utils.hpp
 include/belcard/vcard_grammar.hpp
 lib/libbelcard.so
 lib/libbelcard.so.1
-share/Belcard/cmake/BelcardConfig.cmake
-share/Belcard/cmake/BelcardTargets-%%CMAKE_BUILD_TYPE%%.cmake
-share/Belcard/cmake/BelcardTargets.cmake
+%%DATADIR%%/cmake/belcardConfig.cmake
+%%DATADIR%%/cmake/belcardTargets-%%CMAKE_BUILD_TYPE%%.cmake
+%%DATADIR%%/cmake/belcardTargets.cmake
+share/belr/grammars/vcard_grammar