git: 2994c79c32a7 - main - science/v_sim: Use USE_GITLAB

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 16 Oct 2022 15:01:44 UTC
The branch main has been updated by thierry:

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

commit 2994c79c32a7ddb44aa42b5b5856d412c29dcf85
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-16 14:39:59 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-10-16 15:01:23 +0000

    science/v_sim: Use USE_GITLAB
    
    Use USE_GITLAB to follow Porters Handbook more closely and be consistent
    with ports tree
    Fix DOCS optio
    
    PR:             267085
---
 science/v_sim/Makefile  | 9 +++++++--
 science/v_sim/distinfo  | 6 +++---
 science/v_sim/pkg-plist | 2 +-
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile
index 722d0e2e2eb3..95b81aae6546 100644
--- a/science/v_sim/Makefile
+++ b/science/v_sim/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	v_sim
-PORTVERSION=	3.8.0
+DISTVERSION=	3.8.0
 PORTREVISION=	4
 CATEGORIES=	science
-MASTER_SITES=	https://gitlab.com/l_sim/${PORTNAME}/-/archive/${PORTVERSION}/
 
 MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	Visualization of atomic structures
@@ -20,6 +19,7 @@ BUILD_DEPENDS=	p5-XML-LibXML>0:textproc/p5-XML-LibXML	\
 LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig	\
 		libopenbabel.so:science/openbabel	\
 		libfreetype.so:print/freetype2	\
+		libharfbuzz.so:print/harfbuzz	\
 		libyaml.so:textproc/libyaml	\
 		libnetcdf.so:science/netcdf	\
 		libmsym.so:science/libmsym	\
@@ -38,6 +38,10 @@ SHEBANG_GLOB=	*.py
 USE_XORG=	x11
 USE_GNOME=	cairo gtk30 intltool introspection
 USE_GL=		gl glu
+USE_GITLAB=	yes
+GL_ACCOUNT=	l_sim
+GL_COMMIT=	9dc8e5a0b2f4e7237ac50a922b87d234ff56a6e5
+
 GNU_CONFIGURE=	yes
 CONFIGURE_SHELL=${LOCALBASE}/bin/bash
 CONFIGURE_ARGS=	--htmldir=${PREFIX}/share/doc --with-openbabel		\
@@ -49,6 +53,7 @@ CPPFLAGS+=	${CFLAGS}
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DOCS NLS EXAMPLES
+OPTIONS_SUB=	yes
 
 .if defined(WITH_DEBUG)
 CONFIGURE_ARGS+=--enable-debug-messages
diff --git a/science/v_sim/distinfo b/science/v_sim/distinfo
index 98b702cd58a4..786af108bfbb 100644
--- a/science/v_sim/distinfo
+++ b/science/v_sim/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608928526
-SHA256 (v_sim-3.8.0.tar.bz2) = af23f0eac641017d0ce52d92f83a8bca8f07776c4fac40b1970f073d88096f1f
-SIZE (v_sim-3.8.0.tar.bz2) = 5957293
+TIMESTAMP = 1665839345
+SHA256 (l_sim-v_sim-9dc8e5a0b2f4e7237ac50a922b87d234ff56a6e5_GL0.tar.gz) = 8dcdfa0ff17e9ea41f56fb498c2efef20054086fddd427a552e48f17dcee4546
+SIZE (l_sim-v_sim-9dc8e5a0b2f4e7237ac50a922b87d234ff56a6e5_GL0.tar.gz) = 6357693
diff --git a/science/v_sim/pkg-plist b/science/v_sim/pkg-plist
index b1bfe4de3e1c..6739f35f1336 100644
--- a/science/v_sim/pkg-plist
+++ b/science/v_sim/pkg-plist
@@ -48,7 +48,7 @@ lib/v_sim/plug-ins/libxsf.la
 lib/v_sim/plug-ins/libxsf.so
 lib/v_sim/plug-ins/libxsf.so.8
 lib/v_sim/plug-ins/libxsf.so.8.0.0
-man/man1/v_sim.1.gz
+%%DOCS%%man/man1/v_sim.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog.en
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog.fr
 %%PORTDOCS%%%%DOCSDIR%%/authors