git: 4fd39cc8880c - main - graphics/heimer: Update to 4.0.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 12 Mar 2023 10:05:35 UTC
The branch main has been updated by eduardo:

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

commit 4fd39cc8880c4a647cc69a042af601c15742423a
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-03-11 10:25:10 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-03-12 10:05:21 +0000

    graphics/heimer: Update to 4.0.0
    
    - Fix license
    - Do not build unit tests by default
    - Remove unneeded desktop-file-utils dependency
    - Use pkg-plist file
    
    ChangeLog: https://github.com/juzzlin/Heimer/blob/master/CHANGELOG
---
 graphics/heimer/Makefile  | 25 +++++++------------------
 graphics/heimer/distinfo  |  6 +++---
 graphics/heimer/pkg-plist | 10 ++++++++++
 3 files changed, 20 insertions(+), 21 deletions(-)

diff --git a/graphics/heimer/Makefile b/graphics/heimer/Makefile
index 3e3f795dbdde..8a573069c12c 100644
--- a/graphics/heimer/Makefile
+++ b/graphics/heimer/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	heimer
-DISTVERSION=	3.7.0
+DISTVERSION=	4.0.0
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/juzzlin/Heimer/releases/download/${DISTVERSION}/
 
@@ -7,29 +7,18 @@ MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Simple mind map, diagram, and note-taking tool
 WWW=		https://github.com/juzzlin/Heimer
 
-LICENSE=	CC-BY-SA-3.0 GPLv3+
-LICENSE_COMB=	multi
-LICENSE_FILE_GPLv3+ =	${WRKSRC}/COPYING
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake:testing compiler:c++17-lang desktop-file-utils qt:5
+USES=		cmake:testing compiler:c++17-lang qt:5
 USE_QT=		core gui network svg widgets xml buildtools:build \
 		linguisttools:build qmake:build testlib:build
 
-PLIST_FILES=	bin/heimer \
-		share/applications/heimer.desktop \
-		share/icons/hicolor/256x256/apps/heimer.png \
-		share/metainfo/heimer.appdata.xml \
-		share/pixmaps/heimer.png
-
 PORTDOCS=	README.md
-PORTEXAMPLES=	examples/*.alz
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
 
-EXAMPLES_PLIST_FILES=	${EXAMPLESDIR}/Company.alz \
-			${EXAMPLESDIR}/Family.alz \
-			${EXAMPLESDIR}/Heimer.alz \
-			${EXAMPLESDIR}/Large.alz
+OPTIONS_DEFINE=		DOCS EXAMPLES TEST
+OPTIONS_SUB=		yes
+TEST_CMAKE_BOOL=	BUILD_TESTS
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/graphics/heimer/distinfo b/graphics/heimer/distinfo
index 16ac73765926..4395b9568a67 100644
--- a/graphics/heimer/distinfo
+++ b/graphics/heimer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676319934
-SHA256 (heimer-3.7.0.tar.gz) = 31296e04e84995851c3d3d2eba62a0dab980b20207e6c234aab6d68a90d96e8a
-SIZE (heimer-3.7.0.tar.gz) = 1574116
+TIMESTAMP = 1678519517
+SHA256 (heimer-4.0.0.tar.gz) = 01ce6f1e142278e8f1e377cac0d98cfc6026db5ad879ad8330ebd04d1b73ef36
+SIZE (heimer-4.0.0.tar.gz) = 1591337
diff --git a/graphics/heimer/pkg-plist b/graphics/heimer/pkg-plist
new file mode 100644
index 000000000000..d19ff469f6a9
--- /dev/null
+++ b/graphics/heimer/pkg-plist
@@ -0,0 +1,10 @@
+bin/heimer
+share/applications/heimer.desktop
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Company.alz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Family.alz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Heimer.alz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Large.alz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Matrix.alz
+share/icons/hicolor/256x256/apps/heimer.png
+share/metainfo/heimer.appdata.xml
+share/pixmaps/heimer.png