deskutils/vym: Restore port

VYM  (View Your Mind) is a tool to generate and manipulate maps which
show your thoughts. Such maps can help you to improve your creativity
and effectivity. You can use them for time management, to organize
tasks, to get an overview over complex contexts, to sort your ideas
etc. Some people even think it is fun to work with such maps...

https://sourceforge.net/projects/vym/
This commit is contained in:
Nicola Vitale 2023-07-23 08:53:50 +02:00
parent efbc465078
commit 35473028c4
No known key found for this signature in database
GPG key ID: A51E190C4C0808D0
7 changed files with 294 additions and 1 deletions

1
MOVED
View file

@ -1235,7 +1235,6 @@ deskutils/qorganizer||2019-03-16|Has expired: Qt4 has been EOL since december 20
deskutils/qrfcview||2019-03-16|Has expired: Qt4 has been EOL since december 2015
deskutils/qtm||2019-03-16|Has expired: Qt4 has been EOL since december 2015
deskutils/tuxcards||2019-03-16|Has expired: Qt4 has been EOL since december 2015
deskutils/vym||2019-03-16|Has expired: Qt4 has been EOL since december 2015
devel/apiextractor||2019-03-16|Has expired: Qt4 has been EOL since december 2015
devel/automoc4||2019-03-16|Has expired: Qt4 has been EOL since december 2015
devel/edb||2019-03-16|Has expired: Qt4 has been EOL since december 2015

View file

@ -270,6 +270,7 @@
SUBDIR += ultralist
SUBDIR += virt-manager
SUBDIR += vit
SUBDIR += vym
SUBDIR += walld
SUBDIR += when
SUBDIR += wmpinboard

42
deskutils/vym/Makefile Normal file
View file

@ -0,0 +1,42 @@
PORTNAME= vym
DISTVERSIONPREFIX= v
DISTVERSION= 2.9.0
CATEGORIES= deskutils
MAINTAINER= nivit@FreeBSD.org
COMMENT= VYM is a tool to generate and manipulate mind maps
WWW= https://sourceforge.net/projects/vym/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= bash:shells/bash \
zip:archivers/zip
USES= cmake desktop-file-utils ninja:build qmake qt:5 \
shared-mime-info shebangfix
USE_GITHUB= yes
GH_ACCOUNT= insilmaril
USE_QT= buildtools core dbus gui linguisttools network printsupport \
qdbus script svg widgets xml
SHEBANG_FILES= scripts/vivym scripts/vym-addmail.rb
CMAKE_ARGS= -DCMAKE_INSTALL_DATAROOTDIR:PATH="${STAGEDIR}${DATADIR}" \
-DCMAKE_INSTALL_DOCDIR:PATH="${STAGEDIR}${DOCSDIR}" \
-DCMAKE_INSTALL_MANDIR:PATH="${STAGEDIR}${MANPREFIX}/man/man1" \
-DDATADIR:PATH="${DATADIR}" \
-DDOCSDIR:PATH="${DOCSDIR}"
CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX}
OPTIONS_DEFINE= DOCS
DOCS_CMAKE_BOOL= VYM_DOCS
post-patch:
${REINPLACE_CMD} -e 's:/usr/\(bin/zip\):${PREFIX}/\1:1' \
${WRKSRC}/src/main.cpp
.include <bsd.port.mk>

3
deskutils/vym/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1689956795
SHA256 (insilmaril-vym-v2.9.0_GH0.tar.gz) = 72451681a3a4e1494f25c1ff9d4110c138095d63ed4d1471c76ed907606a7cdb
SIZE (insilmaril-vym-v2.9.0_GH0.tar.gz) = 8594682

View file

@ -0,0 +1,26 @@
--- CMakeLists.txt.orig 2023-03-22 15:26:14 UTC
+++ CMakeLists.txt
@@ -123,7 +123,8 @@ message(STATUS "CMAKE_BINARY_DIR: ${CMAKE_BINARY_DIR}"
message(STATUS "ts_files: ${ts_files}")
message(STATUS "qm_files: ${qm_files}")
-ADD_COMPILE_DEFINITIONS(VYMBASEDIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}")
+ADD_COMPILE_DEFINITIONS(VYMBASEDIR="${DATADIR}")
+ADD_COMPILE_DEFINITIONS(VYM_DOCDIR="${DOCSDIR}")
add_executable(vym ${VymSources} vym.qrc ${qm_files})
target_link_libraries(vym ${QtLibraries})
@@ -156,9 +157,11 @@ add_custom_target(make-translations-directory ALL
add_dependencies(vym make-translations-directory)
install(DIRECTORY demos DESTINATION ${CMAKE_INSTALL_DATAROOTDIR})
-install(DIRECTORY doc DESTINATION ${CMAKE_INSTALL_DOCDIR})
+if(VYM_DOCS)
+install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DOCDIR} FILES_MATCHING PATTERN "*.pdf")
+install(FILES README.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
+endif()
install(FILES doc/vym.1.gz DESTINATION ${CMAKE_INSTALL_MANDIR})
-install(FILES README.md LICENSE.txt DESTINATION ${CMAKE_INSTALL_DOCDIR})
install(DIRECTORY exports flags icons macros ${CMAKE_BINARY_DIR}/translations scripts styles DESTINATION ${CMAKE_INSTALL_DATAROOTDIR})
if(UNIX)

5
deskutils/vym/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
VYM (View Your Mind) is a tool to generate and manipulate maps which
show your thoughts. Such maps can help you to improve your creativity
and effectivity. You can use them for time management, to organize
tasks, to get an overview over complex contexts, to sort your ideas
etc. Some people even think it is fun to work with such maps...

217
deskutils/vym/pkg-plist Normal file
View file

@ -0,0 +1,217 @@
bin/vym
man/man1/vym.1.gz
share/applications/vym.desktop
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/vym.pdf
%%PORTDOCS%%%%DOCSDIR%%/vym_es.pdf
%%PORTDOCS%%%%DOCSDIR%%/vym_fr.pdf
share/icons/hicolor/48x48/apps/vym.png
share/mime/packages/vym.xml
%%DATADIR%%/demos/ao-report-example.vym
%%DATADIR%%/demos/default-dark.vym
%%DATADIR%%/demos/default.vym
%%DATADIR%%/demos/frames.vym
%%DATADIR%%/demos/lifeforms.vym
%%DATADIR%%/demos/math.vym
%%DATADIR%%/demos/new-flags.vym
%%DATADIR%%/demos/scripts/examplescript.vys
%%DATADIR%%/demos/scripts/export-image.vys
%%DATADIR%%/demos/scripts/iterating-branches.vys
%%DATADIR%%/demos/scripts/strip-url.vys
%%DATADIR%%/demos/task-management.vym
%%DATADIR%%/demos/time-management.vym
%%DATADIR%%/demos/vym-contribute.vym
%%DATADIR%%/exports/orange-blue.conf
%%DATADIR%%/exports/template-orange-blue/META-INF/manifest.xml
%%DATADIR%%/exports/template-orange-blue/Pictures/1000000000000040000000400142E835.png
%%DATADIR%%/exports/template-orange-blue/Thumbnails/thumbnail.png
%%DATADIR%%/exports/template-orange-blue/content-template.xml
%%DATADIR%%/exports/template-orange-blue/content.xml
%%DATADIR%%/exports/template-orange-blue/meta.xml
%%DATADIR%%/exports/template-orange-blue/mimetype
%%DATADIR%%/exports/template-orange-blue/page-template.xml
%%DATADIR%%/exports/template-orange-blue/settings.xml
%%DATADIR%%/exports/template-orange-blue/styles.xml
%%DATADIR%%/flags/flag-hideexport.png
%%DATADIR%%/flags/flag-present.png
%%DATADIR%%/flags/flag-rose.png
%%DATADIR%%/flags/flag-scrolled-right.png
%%DATADIR%%/flags/flag-thumb-down.png
%%DATADIR%%/flags/flag-thumb-up.png
%%DATADIR%%/flags/flag-tmpUnscrolled-right.png
%%DATADIR%%/flags/flag-vymlink.png
%%DATADIR%%/flags/flag-vymlinknew.png
%%DATADIR%%/flags/freemind/attach.png
%%DATADIR%%/flags/freemind/back.png
%%DATADIR%%/flags/freemind/bell.png
%%DATADIR%%/flags/freemind/bookmark.png
%%DATADIR%%/flags/freemind/clanbomber.png
%%DATADIR%%/flags/freemind/desktopnew.png
%%DATADIR%%/flags/freemind/flag.png
%%DATADIR%%/flags/freemind/forward.png
%%DATADIR%%/flags/freemind/gohome.png
%%DATADIR%%/flags/freemind/help.png
%%DATADIR%%/flags/freemind/idea.png
%%DATADIR%%/flags/freemind/kaddressbook.png
%%DATADIR%%/flags/freemind/knotify.png
%%DATADIR%%/flags/freemind/korn.png
%%DATADIR%%/flags/freemind/licq.png
%%DATADIR%%/flags/freemind/mail.png
%%DATADIR%%/flags/freemind/password.png
%%DATADIR%%/flags/freemind/pencil.png
%%DATADIR%%/flags/freemind/penguin.png
%%DATADIR%%/flags/freemind/priority-1.png
%%DATADIR%%/flags/freemind/priority-2.png
%%DATADIR%%/flags/freemind/priority-3.png
%%DATADIR%%/flags/freemind/priority-4.png
%%DATADIR%%/flags/freemind/priority-5.png
%%DATADIR%%/flags/freemind/priority-6.png
%%DATADIR%%/flags/freemind/priority-7.png
%%DATADIR%%/flags/freemind/stop.png
%%DATADIR%%/flags/freemind/warning.png
%%DATADIR%%/flags/freemind/wizard.png
%%DATADIR%%/flags/freemind/xmag.png
%%DATADIR%%/flags/standard/Dialog-STOP.svg
%%DATADIR%%/flags/standard/Dialog-information_on.svg
%%DATADIR%%/flags/standard/arrow-2down-blue.svg
%%DATADIR%%/flags/standard/arrow-2up-blue.svg
%%DATADIR%%/flags/standard/arrow-down-blue.svg
%%DATADIR%%/flags/standard/arrow-up-blue.svg
%%DATADIR%%/flags/standard/dialog-ok-apply.svg
%%DATADIR%%/flags/standard/dialog-warning.svg
%%DATADIR%%/flags/standard/edit-delete.svg
%%DATADIR%%/flags/standard/edit-undo.svg
%%DATADIR%%/flags/standard/emblem-favorite.svg
%%DATADIR%%/flags/standard/face-plain.svg
%%DATADIR%%/flags/standard/face-sad.svg
%%DATADIR%%/flags/standard/face-smile.svg
%%DATADIR%%/flags/standard/face-surprise.svg
%%DATADIR%%/flags/standard/flash.svg
%%DATADIR%%/flags/standard/help-about.svg
%%DATADIR%%/flags/standard/help-contextual.svg
%%DATADIR%%/flags/standard/internet-telephony.svg
%%DATADIR%%/flags/standard/kalarm.svg
%%DATADIR%%/flags/standard/question-mark.svg
%%DATADIR%%/flags/system/applications-internet-new.svg
%%DATADIR%%/flags/system/applications-internet.svg
%%DATADIR%%/flags/system/klipper.svg
%%DATADIR%%/flags/system/no-arrow-up.png
%%DATADIR%%/flags/system/stopsign-arrow-2up.png
%%DATADIR%%/flags/system/stopsign-arrow-up.png
%%DATADIR%%/flags/system/target.svg
%%DATADIR%%/flags/system/task-finished.svg
%%DATADIR%%/flags/system/task-new-morning.svg
%%DATADIR%%/flags/system/task-new-sleeping.svg
%%DATADIR%%/flags/system/task-new.svg
%%DATADIR%%/flags/system/task-wip-morning.svg
%%DATADIR%%/flags/system/task-wip-sleeping.svg
%%DATADIR%%/flags/system/task-wip.svg
%%DATADIR%%/icons/configure-plus.svg
%%DATADIR%%/icons/cursors/cursorcolorpicker.png
%%DATADIR%%/icons/cursors/cursorxlink.png
%%DATADIR%%/icons/down-diagonal-left.png
%%DATADIR%%/icons/down-diagonal-right.png
%%DATADIR%%/icons/down.png
%%DATADIR%%/icons/editcopy.png
%%DATADIR%%/icons/editcut.png
%%DATADIR%%/icons/editpaste.png
%%DATADIR%%/icons/editsort.png
%%DATADIR%%/icons/editsortback.png
%%DATADIR%%/icons/edittrash.png
%%DATADIR%%/icons/exit.png
%%DATADIR%%/icons/file-document-export.png
%%DATADIR%%/icons/fileclose.png
%%DATADIR%%/icons/filenew.png
%%DATADIR%%/icons/filenewcopy.png
%%DATADIR%%/icons/fileopen.png
%%DATADIR%%/icons/fileprint.png
%%DATADIR%%/icons/filesave.png
%%DATADIR%%/icons/filesaveas.png
%%DATADIR%%/icons/find.png
%%DATADIR%%/icons/formatcolorbranch.png
%%DATADIR%%/icons/formatcolorpicker.png
%%DATADIR%%/icons/formatcolorsubtree.png
%%DATADIR%%/icons/formatfixedfont.png
%%DATADIR%%/icons/formatrichtext.png
%%DATADIR%%/icons/formatvarfont.png
%%DATADIR%%/icons/headingeditor.png
%%DATADIR%%/icons/history.png
%%DATADIR%%/icons/linestyle-dash.png
%%DATADIR%%/icons/linestyle-dashdot.png
%%DATADIR%%/icons/linestyle-dashdotdot.png
%%DATADIR%%/icons/linestyle-dot.png
%%DATADIR%%/icons/linestyle-solid.png
%%DATADIR%%/icons/modifiers/cursorhandopen.png
%%DATADIR%%/icons/modifiers/mode-color.png
%%DATADIR%%/icons/modifiers/mode-move-object.svg
%%DATADIR%%/icons/modifiers/mode-select.svg
%%DATADIR%%/icons/modifiers/mode-xlink.png
%%DATADIR%%/icons/newbranch.png
%%DATADIR%%/icons/newmapcenter.png
%%DATADIR%%/icons/redo.png
%%DATADIR%%/icons/script-reload.svg
%%DATADIR%%/icons/script-run.svg
%%DATADIR%%/icons/scripteditor.png
%%DATADIR%%/icons/selectnext.png
%%DATADIR%%/icons/selectprevious.png
%%DATADIR%%/icons/slide-camera.png
%%DATADIR%%/icons/slideeditor.png
%%DATADIR%%/icons/slidenext.png
%%DATADIR%%/icons/slideprevious.png
%%DATADIR%%/icons/sliderecord.png
%%DATADIR%%/icons/system-shutdown.svg
%%DATADIR%%/icons/taskeditor.png
%%DATADIR%%/icons/taskfilter-activetask.png
%%DATADIR%%/icons/taskfilter-currentmap.png
%%DATADIR%%/icons/taskfilter-newtask.png
%%DATADIR%%/icons/text_block.png
%%DATADIR%%/icons/text_bold.png
%%DATADIR%%/icons/text_center.png
%%DATADIR%%/icons/text_italic.png
%%DATADIR%%/icons/text_left.png
%%DATADIR%%/icons/text_right.png
%%DATADIR%%/icons/text_sub.png
%%DATADIR%%/icons/text_super.png
%%DATADIR%%/icons/text_under.png
%%DATADIR%%/icons/transform-rotate-ccw.svg
%%DATADIR%%/icons/transform-rotate-cw.svg
%%DATADIR%%/icons/treeeditor.png
%%DATADIR%%/icons/undo.png
%%DATADIR%%/icons/up-diagonal-left.png
%%DATADIR%%/icons/up-diagonal-right.png
%%DATADIR%%/icons/up.png
%%DATADIR%%/icons/video-projector.png
%%DATADIR%%/icons/view-filter.png
%%DATADIR%%/icons/viewmag+.png
%%DATADIR%%/icons/viewmag-.png
%%DATADIR%%/icons/viewmag-reset.png
%%DATADIR%%/icons/viewshowsel.png
%%DATADIR%%/icons/vym-128x128.ico
%%DATADIR%%/icons/vym-128x128.png
%%DATADIR%%/icons/vym-16x16.png
%%DATADIR%%/icons/vym-editor.png
%%DATADIR%%/icons/vym.icns
%%DATADIR%%/icons/vym.png
%%DATADIR%%/icons/vym.xpm
%%DATADIR%%/macros/macros.vys
%%DATADIR%%/macros/slideeditor-snapshot.vys
%%DATADIR%%/scripts/vivym
%%DATADIR%%/scripts/vym-addmail.rb
%%DATADIR%%/scripts/vym-ruby.rb
%%DATADIR%%/styles/vym.css
%%DATADIR%%/styles/vym2taskjuggler.xsl
%%DATADIR%%/translations/vym.cs_CZ.qm
%%DATADIR%%/translations/vym.de.qm
%%DATADIR%%/translations/vym.el.qm
%%DATADIR%%/translations/vym.en.qm
%%DATADIR%%/translations/vym.es.qm
%%DATADIR%%/translations/vym.fr.qm
%%DATADIR%%/translations/vym.hr_HR.qm
%%DATADIR%%/translations/vym.ia.qm
%%DATADIR%%/translations/vym.it.qm
%%DATADIR%%/translations/vym.ja.qm
%%DATADIR%%/translations/vym.pt_BR.qm
%%DATADIR%%/translations/vym.ru.qm
%%DATADIR%%/translations/vym.sv.qm
%%DATADIR%%/translations/vym.zh_CN.qm
%%DATADIR%%/translations/vym.zh_TW.qm