summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2022-03-28 19:32:38 +0000
committerbouyer <bouyer@pkgsrc.org>2022-03-28 19:32:38 +0000
commita94f6776cc4c303464569b96e745ff8df57b22a5 (patch)
tree90912d6a5d763a00bbe3e04836fb47af0c6e2294
parent7e5191f27752c42be827ce5c3519f6ec7d4e3962 (diff)
downloadpkgsrc-a94f6776cc4c303464569b96e745ff8df57b22a5.tar.gz
Add opencpn-plugin-plots version 2.2.12
OpenCPN is a free software (GPLv2) project to create a concise chart plotter and navigation software, for use underway or as a planning tool. OpenCPN is developed by a team of active sailors using real world conditions for program testing and refinement. This plugin is designed to monitor speed and course to make the changes to sail sweep obvious. It may be used to better understand the sailing characteristics of a particular sailing vessel, or for fine tuning to give optimal results.
-rw-r--r--geography/opencpn-plugin-plots/DESCR11
-rw-r--r--geography/opencpn-plugin-plots/Makefile30
-rw-r--r--geography/opencpn-plugin-plots/PLIST30
-rw-r--r--geography/opencpn-plugin-plots/distinfo6
-rw-r--r--geography/opencpn-plugin-plots/patches/patch-cmake_PluginSetup.cmake17
5 files changed, 94 insertions, 0 deletions
diff --git a/geography/opencpn-plugin-plots/DESCR b/geography/opencpn-plugin-plots/DESCR
new file mode 100644
index 00000000000..f99b30e5109
--- /dev/null
+++ b/geography/opencpn-plugin-plots/DESCR
@@ -0,0 +1,11 @@
+OpenCPN is a free software (GPLv2) project to create a concise chart plotter
+and navigation software, for use underway or as a planning tool. OpenCPN is
+developed by a team of active sailors using real world conditions for
+program testing and refinement.
+
+
+
+This plugin is designed to monitor speed and course to make the changes to
+sail sweep obvious. It may be used to better understand the sailing
+characteristics of a particular sailing vessel, or for fine tuning to give
+optimal results.
diff --git a/geography/opencpn-plugin-plots/Makefile b/geography/opencpn-plugin-plots/Makefile
new file mode 100644
index 00000000000..0f98fbb924d
--- /dev/null
+++ b/geography/opencpn-plugin-plots/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2022/03/28 19:32:38 bouyer Exp $
+#
+
+VERSION= 2.2.12
+DISTNAME= ocpn_plots_pi-${VERSION}
+PKGNAME= opencpn-plugin-plots-${VERSION}
+CATEGORIES= geography
+MASTER_SITES= ${MASTER_SITE_GITHUB:=rgleason/}
+GITHUB_PROJECT= plots_pi
+GITHUB_TAG= v${VERSION}
+
+MAINTAINER= bouyer@NetBSD.org
+HOMEPAGE= https://opencpn.org/OpenCPN/plugins/sweepplot.html
+COMMENT= visualizes sailing performance data
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= c c++11
+USE_CMAKE= yes
+
+CMAKE_ARGS+= -DPREFIX:PATH=${PREFIX} -DPREFIX_PLUGINS:PATH=${PREFIX}/lib/opencpn
+CMAKE_MODULE_PATH_OVERRIDE = \
+ cmake/PluginConfigure.cmake \
+ cmake/PluginInstall.cmake \
+ cmake/PluginLocalization.cmake \
+ cmake/PluginPackage.cmake
+
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../x11/wxGTK30/buildlink3.mk"
+.include "../../textproc/tinyxml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/opencpn-plugin-plots/PLIST b/geography/opencpn-plugin-plots/PLIST
new file mode 100644
index 00000000000..4a8644f950c
--- /dev/null
+++ b/geography/opencpn-plugin-plots/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1 2022/03/28 19:32:38 bouyer Exp $
+lib/opencpn/libplots_pi.so
+share/locale/ar_SA/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/ca_ES/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/cs_CZ/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/da_DK/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/de_DE/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/el_GR/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/es_ES/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/et_EE/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/fi_FI/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/fr_FR/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/gl_ES/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/hu_HU/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/it_IT/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/ja_JP/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/nb_NO/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/nl_NL/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/pl_PL/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/pt_BR/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/pt_PT/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/ru_RU/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/sv_SE/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/tr_TR/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/vi_VN/LC_MESSAGES/opencpn-plots_pi.mo
+share/locale/zh_TW/LC_MESSAGES/opencpn-plots_pi.mo
+share/opencpn/plugins/plots_pi/data/plots_panel.png
+share/opencpn/plugins/plots_pi/data/plots_panel.svg
+share/opencpn/plugins/plots_pi/data/plots_pi.svg
+share/opencpn/plugins/plots_pi/data/plots_pi_toggled.svg
diff --git a/geography/opencpn-plugin-plots/distinfo b/geography/opencpn-plugin-plots/distinfo
new file mode 100644
index 00000000000..0dd572799c7
--- /dev/null
+++ b/geography/opencpn-plugin-plots/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/03/28 19:32:38 bouyer Exp $
+
+BLAKE2s (ocpn_plots_pi-2.2.12.tar.gz) = 3e34c9c075351a38bad983a784b5faee10b863a107d542b2bb21f4766314667e
+SHA512 (ocpn_plots_pi-2.2.12.tar.gz) = fb2bb19da0866f08835b82c76e9b14c042aab531230f4398db9b912733446e9ab1e9c52804f2d8698de6c0b496a67645a89e60f2234587b7d5e0cb001b0d9304
+Size (ocpn_plots_pi-2.2.12.tar.gz) = 921352 bytes
+SHA1 (patch-cmake_PluginSetup.cmake) = 5cd62f288bea7993da60ff58af01b4c427afa99f
diff --git a/geography/opencpn-plugin-plots/patches/patch-cmake_PluginSetup.cmake b/geography/opencpn-plugin-plots/patches/patch-cmake_PluginSetup.cmake
new file mode 100644
index 00000000000..6bc41e72b5b
--- /dev/null
+++ b/geography/opencpn-plugin-plots/patches/patch-cmake_PluginSetup.cmake
@@ -0,0 +1,17 @@
+$NetBSD: patch-cmake_PluginSetup.cmake,v 1.1 2022/03/28 19:32:38 bouyer Exp $
+
+Make sure PKG_TARGET is defined
+
+--- cmake/PluginSetup.cmake.orig 2022-03-28 12:35:19.226589920 +0200
++++ cmake/PluginSetup.cmake 2022-03-28 12:40:33.397145593 +0200
+@@ -104,10 +104,6 @@
+ set(PKG_TARGET_VERSION 16)
+ set(QT_ANDROID ON)
+ elseif(UNIX)
+- # Some linux dist:
+- execute_process(COMMAND "lsb_release" "-is" OUTPUT_VARIABLE PKG_TARGET)
+- execute_process(COMMAND "lsb_release" "-rs" OUTPUT_VARIABLE PKG_TARGET_VERSION)
+-else()
+ set(PKG_TARGET "unknown")
+ set(PKG_TARGET_VERSION 1)
+ endif()