summaryrefslogtreecommitdiff
path: root/geography/opencpn-plugin-draw
diff options
context:
space:
mode:
Diffstat (limited to 'geography/opencpn-plugin-draw')
-rw-r--r--geography/opencpn-plugin-draw/DESCR17
-rw-r--r--geography/opencpn-plugin-draw/Makefile33
-rw-r--r--geography/opencpn-plugin-draw/PLIST48
-rw-r--r--geography/opencpn-plugin-draw/distinfo7
-rw-r--r--geography/opencpn-plugin-draw/patches/patch-cmake_PluginConfigure.cmake19
5 files changed, 124 insertions, 0 deletions
diff --git a/geography/opencpn-plugin-draw/DESCR b/geography/opencpn-plugin-draw/DESCR
new file mode 100644
index 00000000000..f43d58972c5
--- /dev/null
+++ b/geography/opencpn-plugin-draw/DESCR
@@ -0,0 +1,17 @@
+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 allow users to place objects/items on the OpenCPN
+interface and have these georeferenced. This allows the objects/items to move
+with the chart and have a definined Latitude and Longitude. There are two
+basic types of object/item that can be used: points and paths.
+
+Points are very similar to Waypoints and mark locations on the chart.
+Paths joint two or more points together and draw a line between them.
+Currently these Points exist: Boundary Point, Text Point,
+Electronic Brearing Line (EBL) Point, Dead Reckoning (DR) Point.
+
+These Points are used to construct special types of Paths: Boundary,
+Electronic Bearing Line (EBL) and Dead Reckoning (DR).
diff --git a/geography/opencpn-plugin-draw/Makefile b/geography/opencpn-plugin-draw/Makefile
new file mode 100644
index 00000000000..cccc93787df
--- /dev/null
+++ b/geography/opencpn-plugin-draw/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2016/04/24 10:21:54 bouyer Exp $
+#
+
+VERSION= 20160415
+DISTNAME= ocpn_draw_pi-${VERSION}
+PKGNAME= opencpn-plugin-draw-${VERSION}
+CATEGORIES= geography
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jongough/}
+GITHUB_PROJECT= ocpn_draw_pi
+GITHUB_TAG= 047bb4c19c45e75f0bef3aba17ef7b52ef43d8af
+
+MAINTAINER= bouyer@NetBSD.org
+HOMEPAGE= http://opencpn.org/ocpn/Plugins_external_odraw
+COMMENT= place georeferenced objects/items on the OpenCPN interface
+LICENSE= gnu-gpl-v2
+
+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-draw/PLIST b/geography/opencpn-plugin-draw/PLIST
new file mode 100644
index 00000000000..583002527e2
--- /dev/null
+++ b/geography/opencpn-plugin-draw/PLIST
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1 2016/04/24 10:21:54 bouyer Exp $
+lib/opencpn/libocpn_draw_pi.so
+share/locale/ca/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/cs/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/da/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/de/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/el/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/es/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/et/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/fi/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/fr/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/gl/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/hu/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/it/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/ja/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/nb/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/nl/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/pl/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/pt/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/ru/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/sv/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/tr/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/vi/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/locale/zh/LC_MESSAGES/opencpn-ocpn_draw_pi.mo
+share/opencpn/plugins/ocpn_draw_pi/data/DR.png
+share/opencpn/plugins/ocpn_draw_pi/data/DR.svg
+share/opencpn/plugins/ocpn_draw_pi/data/DRgrey.png
+share/opencpn/plugins/ocpn_draw_pi/data/DRgrey.svg
+share/opencpn/plugins/ocpn_draw_pi/data/EBL.png
+share/opencpn/plugins/ocpn_draw_pi/data/EBL.svg
+share/opencpn/plugins/ocpn_draw_pi/data/EBLgrey.png
+share/opencpn/plugins/ocpn_draw_pi/data/EBLgrey.svg
+share/opencpn/plugins/ocpn_draw_pi/data/ODManager.png
+share/opencpn/plugins/ocpn_draw_pi/data/ODManager.svg
+share/opencpn/plugins/ocpn_draw_pi/data/ODManagerGrey.png
+share/opencpn/plugins/ocpn_draw_pi/data/ODManagergrey.svg
+share/opencpn/plugins/ocpn_draw_pi/data/boundary.png
+share/opencpn/plugins/ocpn_draw_pi/data/boundary.svg
+share/opencpn/plugins/ocpn_draw_pi/data/boundarygrey.png
+share/opencpn/plugins/ocpn_draw_pi/data/boundarygrey.svg
+share/opencpn/plugins/ocpn_draw_pi/data/pointbutton.png
+share/opencpn/plugins/ocpn_draw_pi/data/pointbutton.svg
+share/opencpn/plugins/ocpn_draw_pi/data/pointbuttongrey.png
+share/opencpn/plugins/ocpn_draw_pi/data/pointbuttongrey.svg
+share/opencpn/plugins/ocpn_draw_pi/data/textpointbutton.png
+share/opencpn/plugins/ocpn_draw_pi/data/textpointbutton.svg
+share/opencpn/plugins/ocpn_draw_pi/data/textpointbuttongrey.png
+share/opencpn/plugins/ocpn_draw_pi/data/textpointbuttongrey.svg
diff --git a/geography/opencpn-plugin-draw/distinfo b/geography/opencpn-plugin-draw/distinfo
new file mode 100644
index 00000000000..c97d756c126
--- /dev/null
+++ b/geography/opencpn-plugin-draw/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/04/24 10:21:54 bouyer Exp $
+
+SHA1 (ocpn_draw_pi-20160415-047bb4c19c45e75f0bef3aba17ef7b52ef43d8af.tar.gz) = a1e06d6c810ad8e02a1f8f35677517e18adc28f6
+RMD160 (ocpn_draw_pi-20160415-047bb4c19c45e75f0bef3aba17ef7b52ef43d8af.tar.gz) = 60c84b16d04a2e10a189a7c72e14b4f1405c9686
+SHA512 (ocpn_draw_pi-20160415-047bb4c19c45e75f0bef3aba17ef7b52ef43d8af.tar.gz) = 639392c7c219cafcbcba88f04f9b75801c4f7e66a4c641fb28af79025333b9b57a16d37820a04cc353432f775e2fa3ee7d556d49f61c8d4741ba373998c27ee9
+Size (ocpn_draw_pi-20160415-047bb4c19c45e75f0bef3aba17ef7b52ef43d8af.tar.gz) = 1124238 bytes
+SHA1 (patch-cmake_PluginConfigure.cmake) = 15ee7241c1ef77bf5ac2da414d727a5e2f40b7a1
diff --git a/geography/opencpn-plugin-draw/patches/patch-cmake_PluginConfigure.cmake b/geography/opencpn-plugin-draw/patches/patch-cmake_PluginConfigure.cmake
new file mode 100644
index 00000000000..583b0e53c67
--- /dev/null
+++ b/geography/opencpn-plugin-draw/patches/patch-cmake_PluginConfigure.cmake
@@ -0,0 +1,19 @@
+$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.1 2016/04/24 10:21:54 bouyer Exp $
+Do not overwrite CMAKE_SHARED_LINKER_FLAGS
+
+--- cmake/PluginConfigure.cmake.orig 2016-04-13 08:28:11.000000000 +0200
++++ cmake/PluginConfigure.cmake 2016-04-15 16:03:44.000000000 +0200
+@@ -45,11 +45,9 @@
+ # ADD_DEFINITIONS( "-Wall -Wno-unused-result -g -O2 -fexceptions" )
+ ENDIF(PROFILING)
+
+- IF(NOT APPLE)
+- SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,-Bsymbolic")
+- ELSE(NOT APPLE)
++ IF(APPLE)
+ SET(CMAKE_SHARED_LINKER_FLAGS "-Wl -undefined dynamic_lookup")
+- ENDIF(NOT APPLE)
++ ENDIF(APPLE)
+
+ ENDIF(NOT MSVC)
+