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
This commit is contained in:
Nuno Teixeira 2023-03-11 10:25:10 +00:00
parent 98cc4241d8
commit 4fd39cc888
3 changed files with 20 additions and 21 deletions

View file

@ -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}

View file

@ -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

10
graphics/heimer/pkg-plist Normal file
View file

@ -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