summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2017-04-14 16:38:54 +0000
committerbouyer <bouyer@pkgsrc.org>2017-04-14 16:38:54 +0000
commit4dfcb791dc611c232358acc187be8a05c4bac72c (patch)
tree042541e0c75479d8d31669b51ab432777852a13d /geography
parent4fce22168ec467a558dffa29999873923db39637 (diff)
downloadpkgsrc-4dfcb791dc611c232358acc187be8a05c4bac72c.tar.gz
Add opencpn-plugin-statusbar version 20170414
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. The status bar plugin provides customizable, easier to read output text and lower cpu usage than the builtin statusbar.
Diffstat (limited to 'geography')
-rw-r--r--geography/opencpn-plugin-statusbar/DESCR7
-rw-r--r--geography/opencpn-plugin-statusbar/Makefile34
-rw-r--r--geography/opencpn-plugin-statusbar/PLIST24
-rw-r--r--geography/opencpn-plugin-statusbar/distinfo7
-rw-r--r--geography/opencpn-plugin-statusbar/patches/patch-cmake_PluginConfigure.cmake22
5 files changed, 94 insertions, 0 deletions
diff --git a/geography/opencpn-plugin-statusbar/DESCR b/geography/opencpn-plugin-statusbar/DESCR
new file mode 100644
index 00000000000..cd3acbfac25
--- /dev/null
+++ b/geography/opencpn-plugin-statusbar/DESCR
@@ -0,0 +1,7 @@
+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.
+
+The status bar plugin provides customizable, easier to read output text
+and lower cpu usage than the builtin statusbar.
diff --git a/geography/opencpn-plugin-statusbar/Makefile b/geography/opencpn-plugin-statusbar/Makefile
new file mode 100644
index 00000000000..dc92e01f712
--- /dev/null
+++ b/geography/opencpn-plugin-statusbar/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 16:38:54 bouyer Exp $
+#
+
+VERSION= 20170414
+DISTNAME= statusbar_pi-${VERSION}
+PKGNAME= opencpn-plugin-statusbar-${VERSION}
+#PKGREVISION= 3
+CATEGORIES= geography
+MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/}
+GITHUB_PROJECT= statusbar_pi
+GITHUB_TAG= b3653d44f6ecff05fbf49b49076d9a57e479268f
+
+MAINTAINER= bouyer@NetBSD.org
+HOMEPAGE= https://opencpn.org/OpenCPN/plugins/statusbar.html
+COMMENT= statusbar to display various info to users in OpenCPN
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= c c++
+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/gtk2/buildlink3.mk"
+.include "../../x11/wxGTK30/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../textproc/tinyxml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/opencpn-plugin-statusbar/PLIST b/geography/opencpn-plugin-statusbar/PLIST
new file mode 100644
index 00000000000..84055c39bed
--- /dev/null
+++ b/geography/opencpn-plugin-statusbar/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/14 16:38:54 bouyer Exp $
+lib/opencpn/libstatusbar_pi.so
+share/locale/ca/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/cs/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/da/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/de/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/el/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/es/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/et/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/fi/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/fr/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/gl/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/hu/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/it/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/ja/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/nb/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/nl/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/pl/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/pt/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/ru/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/sv/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/tr/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/vi/LC_MESSAGES/opencpn-statusbar_pi.mo
+share/locale/zh/LC_MESSAGES/opencpn-statusbar_pi.mo
diff --git a/geography/opencpn-plugin-statusbar/distinfo b/geography/opencpn-plugin-statusbar/distinfo
new file mode 100644
index 00000000000..90074433325
--- /dev/null
+++ b/geography/opencpn-plugin-statusbar/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/04/14 16:38:54 bouyer Exp $
+
+SHA1 (statusbar_pi-20170414-b3653d44f6ecff05fbf49b49076d9a57e479268f.tar.gz) = 6a73c9641f15586c279350906a133ca7c54e09d4
+RMD160 (statusbar_pi-20170414-b3653d44f6ecff05fbf49b49076d9a57e479268f.tar.gz) = 2fab65f1345b583dccd9b5a59184977533ef948c
+SHA512 (statusbar_pi-20170414-b3653d44f6ecff05fbf49b49076d9a57e479268f.tar.gz) = 31acc25e65e8d6db464bb6e664fc65b53b732d91853ef441c62e57e83a6476c602f160a0270874d77be5c7f0aeb295b5a5dccab5b6f3dc04ebfa8356ad538ee0
+Size (statusbar_pi-20170414-b3653d44f6ecff05fbf49b49076d9a57e479268f.tar.gz) = 214972 bytes
+SHA1 (patch-cmake_PluginConfigure.cmake) = 5c0484bc31d4aff8ae631bf679dd363e9590896c
diff --git a/geography/opencpn-plugin-statusbar/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-statusbar/patches/patch-cmake_PluginConfigure.cmake
new file mode 100644
index 00000000000..a85e3ac69cb
--- /dev/null
+++ b/geography/opencpn-plugin-statusbar/patches/patch-cmake_PluginConfigure.cmake
@@ -0,0 +1,22 @@
+$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.1 2017/04/14 16:38:54 bouyer Exp $
+Do not overwrite CMAKE_SHARED_LINKER_FLAGS
+
+--- cmake/PluginConfigure.cmake.orig 2016-05-09 14:08:57.000000000 +0200
++++ cmake/PluginConfigure.cmake 2017-04-14 17:00:15.000000000 +0200
+@@ -34,11 +34,13 @@
+ ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O2 -fexceptions" )
+ ENDIF(PROFILING)
+
+- IF(NOT APPLE)
++ IF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
+ SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
+- ELSE(NOT APPLE)
++ ADD_DEFINITIONS( "-fPIC")
++ ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*Linux")
++ if(APPLE)
+ SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
+- ENDIF(NOT APPLE)
++ ENDIF(APPLE)
+
+ ENDIF(NOT MSVC)
+