pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc
Module Name: pkgsrc
Committed By: nros
Date: Mon Nov 4 18:35:22 UTC 2019
Modified Files:
pkgsrc/misc: Makefile
Added Files:
pkgsrc/misc/xygrib: DESCR Makefile PLIST data.mk distinfo
pkgsrc/misc/xygrib/patches: patch-CMakeLists.txt
Log Message:
Add XyGrib version 1.2.6.1 to pkgsrc-current.
Packaged in pkgsrc-wip by myself.
XyGrib is visualizer of meteorologial data.
XyGrib is continuation of zyGrib available in misc/zyGrib.
To generate a diff of this commit:
cvs rdiff -u -r1.517 -r1.518 pkgsrc/misc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/xygrib/DESCR pkgsrc/misc/xygrib/Makefile \
pkgsrc/misc/xygrib/PLIST pkgsrc/misc/xygrib/data.mk \
pkgsrc/misc/xygrib/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/Makefile
diff -u pkgsrc/misc/Makefile:1.517 pkgsrc/misc/Makefile:1.518
--- pkgsrc/misc/Makefile:1.517 Wed Oct 30 14:43:46 2019
+++ pkgsrc/misc/Makefile Mon Nov 4 18:35:21 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.517 2019/10/30 14:43:46 kamil Exp $
+# $NetBSD: Makefile,v 1.518 2019/11/04 18:35:21 nros Exp $
#
COMMENT= Miscellaneous utilities
@@ -377,6 +377,7 @@ SUBDIR+= xorg-sgml-doctools
SUBDIR+= xrolodex
SUBDIR+= xtail
SUBDIR+= xtend
+SUBDIR+= xygrib
SUBDIR+= yelp3
SUBDIR+= yrolo
SUBDIR+= zorro
Added files:
Index: pkgsrc/misc/xygrib/DESCR
diff -u /dev/null pkgsrc/misc/xygrib/DESCR:1.1
--- /dev/null Mon Nov 4 18:35:22 2019
+++ pkgsrc/misc/xygrib/DESCR Mon Nov 4 18:35:21 2019
@@ -0,0 +1,2 @@
+XyGrib is visualizer of meteorologial data.
+XyGrib is continuation of zyGrib available in misc/zyGrib.
Index: pkgsrc/misc/xygrib/Makefile
diff -u /dev/null pkgsrc/misc/xygrib/Makefile:1.1
--- /dev/null Mon Nov 4 18:35:22 2019
+++ pkgsrc/misc/xygrib/Makefile Mon Nov 4 18:35:21 2019
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2019/11/04 18:35:21 nros Exp $
+
+GITHUB_PROJECT= XyGrib
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= XyGrib-1.2.6.1
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=opengribs/}
+EXTRACT_USING= bsdtar
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://opengribs.org/
+COMMENT= GRIB file viewer for weather data
+LICENSE= gnu-gpl-v3
+
+.include "data.mk"
+
+USE_LANGUAGES+= c c++
+USE_CMAKE= yes
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../geography/libnova/buildlink3.mk"
+.include "../../geography/proj/buildlink3.mk"
+.include "../../graphics/openjpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/xygrib/PLIST
diff -u /dev/null pkgsrc/misc/xygrib/PLIST:1.1
--- /dev/null Mon Nov 4 18:35:22 2019
+++ pkgsrc/misc/xygrib/PLIST Mon Nov 4 18:35:21 2019
@@ -0,0 +1,148 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/04 18:35:21 nros Exp $
+bin/XyGrib
+share/applications/xygrib.desktop
+share/openGribs/XyGrib/data/colors/colors_binary.txt
+share/openGribs/XyGrib/data/colors/colors_cape_jkg.txt
+share/openGribs/XyGrib/data/colors/colors_cin_jkg.txt
+share/openGribs/XyGrib/data/colors/colors_clouds_black_pc.txt
+share/openGribs/XyGrib/data/colors/colors_clouds_white_pc.txt
+share/openGribs/XyGrib/data/colors/colors_current_kts.txt
+share/openGribs/XyGrib/data/colors/colors_deltatemp_celcius.txt
+share/openGribs/XyGrib/data/colors/colors_gust_kts.txt
+share/openGribs/XyGrib/data/colors/colors_humidrel_pc.original.txt
+share/openGribs/XyGrib/data/colors/colors_humidrel_pc.txt
+share/openGribs/XyGrib/data/colors/colors_rain_mmh - Copy.txt
+share/openGribs/XyGrib/data/colors/colors_rain_mmh.txt
+share/openGribs/XyGrib/data/colors/colors_reflect_dbz.txt
+share/openGribs/XyGrib/data/colors/colors_snowdepth_m - Copy.txt
+share/openGribs/XyGrib/data/colors/colors_snowdepth_m.txt
+share/openGribs/XyGrib/data/colors/colors_temp_celcius.txt
+share/openGribs/XyGrib/data/colors/colors_thetae_celcius.txt
+share/openGribs/XyGrib/data/colors/colors_thetae_celcius_1.txt
+share/openGribs/XyGrib/data/colors/colors_waveheight_m.txt
+share/openGribs/XyGrib/data/colors/colors_whitecap_prb.txt
+share/openGribs/XyGrib/data/colors/colors_whitecap_prb.txt.colors
+share/openGribs/XyGrib/data/colors/colors_wind_jet_kts.txt
+share/openGribs/XyGrib/data/colors/colors_wind_kts.txt
+share/openGribs/XyGrib/data/fonts/liberation-fonts/AUTHORS
+share/openGribs/XyGrib/data/fonts/liberation-fonts/COPYING
+share/openGribs/XyGrib/data/fonts/liberation-fonts/ChangeLog
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationMono-Bold.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationMono-BoldItalic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationMono-Italic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationMono-Regular.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSans-Bold.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSans-BoldItalic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSans-Italic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSans-Regular.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSerif-Bold.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSerif-BoldItalic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSerif-Italic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSerif-Regular.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/License.txt
+share/openGribs/XyGrib/data/fonts/liberation-fonts/README
+share/openGribs/XyGrib/data/gis/cities_0-300.txt.gz
+share/openGribs/XyGrib/data/gis/cities_10k-more.txt.gz
+share/openGribs/XyGrib/data/gis/cities_1k-3k.txt.gz
+share/openGribs/XyGrib/data/gis/cities_300-1k.txt.gz
+share/openGribs/XyGrib/data/gis/cities_3k-10k.txt.gz
+share/openGribs/XyGrib/data/gis/countries_en.txt.gz
+share/openGribs/XyGrib/data/gis/countries_fr.txt.gz
+share/openGribs/XyGrib/data/gis/states_en.txt.gz
+share/openGribs/XyGrib/data/gis/stations_metar.txt.gz
+share/openGribs/XyGrib/data/img/1leftarrow.png
+share/openGribs/XyGrib/data/img/1rightarrow.png
+share/openGribs/XyGrib/data/img/2leftarrow.png
+share/openGribs/XyGrib/data/img/2rightarrow.png
+share/openGribs/XyGrib/data/img/Thumbs.db
+share/openGribs/XyGrib/data/img/airport.png
+share/openGribs/XyGrib/data/img/anim.png
+share/openGribs/XyGrib/data/img/back.png
+share/openGribs/XyGrib/data/img/connect_no.png
+share/openGribs/XyGrib/data/img/cursor-cross.png
+share/openGribs/XyGrib/data/img/cursor-openhand.png
+share/openGribs/XyGrib/data/img/down.png
+share/openGribs/XyGrib/data/img/drapeau_ar.png
+share/openGribs/XyGrib/data/img/drapeau_cz.png
+share/openGribs/XyGrib/data/img/drapeau_de.png
+share/openGribs/XyGrib/data/img/drapeau_en.png
+share/openGribs/XyGrib/data/img/drapeau_es.png
+share/openGribs/XyGrib/data/img/drapeau_fi.png
+share/openGribs/XyGrib/data/img/drapeau_fr.png
+share/openGribs/XyGrib/data/img/drapeau_gr.png
+share/openGribs/XyGrib/data/img/drapeau_he.png
+share/openGribs/XyGrib/data/img/drapeau_it.png
+share/openGribs/XyGrib/data/img/drapeau_nl.png
+share/openGribs/XyGrib/data/img/drapeau_pt.png
+share/openGribs/XyGrib/data/img/drapeau_ru.png
+share/openGribs/XyGrib/data/img/exit.png
+share/openGribs/XyGrib/data/img/fileclose.png
+share/openGribs/XyGrib/data/img/fileopen.png
+share/openGribs/XyGrib/data/img/forward.png
+share/openGribs/XyGrib/data/img/help.png
+share/openGribs/XyGrib/data/img/info.png
+share/openGribs/XyGrib/data/img/media-floppy.png
+share/openGribs/XyGrib/data/img/meteoblue.png
+share/openGribs/XyGrib/data/img/network.png
+share/openGribs/XyGrib/data/img/player_eject.png
+share/openGribs/XyGrib/data/img/player_end.png
+share/openGribs/XyGrib/data/img/player_fwd.png
+share/openGribs/XyGrib/data/img/player_pause.png
+share/openGribs/XyGrib/data/img/player_play.png
+share/openGribs/XyGrib/data/img/player_playlist.png
+share/openGribs/XyGrib/data/img/player_rew.png
+share/openGribs/XyGrib/data/img/player_start.png
+share/openGribs/XyGrib/data/img/player_stop.png
+share/openGribs/XyGrib/data/img/printer.png
+share/openGribs/XyGrib/data/img/reload.png
+share/openGribs/XyGrib/data/img/resource.rc
+share/openGribs/XyGrib/data/img/spreadsheet.png
+share/openGribs/XyGrib/data/img/time_icon.png
+share/openGribs/XyGrib/data/img/up.png
+share/openGribs/XyGrib/data/img/viewmag+.png
+share/openGribs/XyGrib/data/img/viewmag-.png
+share/openGribs/XyGrib/data/img/viewmag1.png
+share/openGribs/XyGrib/data/img/viewmagfit.png
+share/openGribs/XyGrib/data/img/xyGrib.icns
+share/openGribs/XyGrib/data/img/xyGrib_32.ico
+share/openGribs/XyGrib/data/img/xyGrib_32.xpm
+share/openGribs/XyGrib/data/maps/gshhs/README.gshhs
+share/openGribs/XyGrib/data/maps/gshhs/README.gshhs.rangs
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_0.rim
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_1.rim
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_2.rim
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_3.rim
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_4.rim
+share/openGribs/XyGrib/data/maps/gshhs/rangs_0.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_0.cel
+share/openGribs/XyGrib/data/maps/gshhs/rangs_1.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_1.cel
+share/openGribs/XyGrib/data/maps/gshhs/rangs_2.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_2.cel
+share/openGribs/XyGrib/data/maps/gshhs/rangs_3.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_3.cel
+share/openGribs/XyGrib/data/maps/gshhs/rangs_4.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_4.cel
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_c.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_f.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_h.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_i.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_l.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_c.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_f.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_h.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_i.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_l.b
+share/openGribs/XyGrib/data/tr/xyGrib_ar.qm
+share/openGribs/XyGrib/data/tr/xyGrib_cz.qm
+share/openGribs/XyGrib/data/tr/xyGrib_de.qm
+share/openGribs/XyGrib/data/tr/xyGrib_es.qm
+share/openGribs/XyGrib/data/tr/xyGrib_fi.qm
+share/openGribs/XyGrib/data/tr/xyGrib_fr.qm
+share/openGribs/XyGrib/data/tr/xyGrib_gr.qm
+share/openGribs/XyGrib/data/tr/xyGrib_he.qm
+share/openGribs/XyGrib/data/tr/xyGrib_it.qm
+share/openGribs/XyGrib/data/tr/xyGrib_nl.qm
+share/openGribs/XyGrib/data/tr/xyGrib_pt.qm
+share/openGribs/XyGrib/data/tr/xyGrib_ru.qm
+share/pixmaps/xygrib.png
Index: pkgsrc/misc/xygrib/data.mk
diff -u /dev/null pkgsrc/misc/xygrib/data.mk:1.1
--- /dev/null Mon Nov 4 18:35:22 2019
+++ pkgsrc/misc/xygrib/data.mk Mon Nov 4 18:35:21 2019
@@ -0,0 +1,25 @@
+# $NetBSD: data.mk,v 1.1 2019/11/04 18:35:21 nros Exp $
+#
+XYGRIBDV= 1.1.1
+XYGRIBDS= https://github.com/openGribs/XyGrib/releases/download/v${XYGRIBDV}/
+
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+= XyGrib___High_Resolution_Maps.tar.gz
+DISTFILES+= XyGrib___cities_files.tar.gz
+
+SITES.XyGrib___High_Resolution_Maps.tar.gz= ${XYGRIBDS}
+SITES.XyGrib___cities_files.tar.gz= ${XYGRIBDS}
+
+DIST_SUBDIR= XyGrib-${XYGRIBDV}
+
+INSTALL_CITIES_FILES= cities_0-300.txt.gz
+INSTALL_CITIES_FILES+= cities_300-1k.txt.gz
+INSTALL_CITIES_FILES+= cities_1k-3k.txt.gz
+
+.PHONY: install-cities
+install-cities:
+.for f in ${INSTALL_CITIES_FILES}
+ ${INSTALL_DATA} ${WRKDIR}/${f} \
+ ${DESTDIR}${PREFIX}/share/openGribs/XyGrib/data/gis/${f}
+.endfor
+post-install: install-cities
Index: pkgsrc/misc/xygrib/distinfo
diff -u /dev/null pkgsrc/misc/xygrib/distinfo:1.1
--- /dev/null Mon Nov 4 18:35:22 2019
+++ pkgsrc/misc/xygrib/distinfo Mon Nov 4 18:35:21 2019
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1 2019/11/04 18:35:21 nros Exp $
+
+SHA1 (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 8e3431ed6a5ef114d77ac57029129a26a381f696
+RMD160 (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 876e8a53b492b2e2ea0572e5b0cd31a2c04f505a
+SHA512 (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 33c8a0fc6791dbe3342524555dc90362560fed08b4e2a624111167d92e2c71890dcb5bfe7e85d7df2ffc11a382ea5afa484cdab84c29935d4be2e673c76a371c
+Size (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 14704088 bytes
+SHA1 (XyGrib-1.1.1/XyGrib___High_Resolution_Maps.tar.gz) = 7849cd9361757ae89c48f0e74ce340c7faf15015
+RMD160 (XyGrib-1.1.1/XyGrib___High_Resolution_Maps.tar.gz) = a0c82dfc09db8cb466c7bc7d396e7a62cb77b4fd
+SHA512 (XyGrib-1.1.1/XyGrib___High_Resolution_Maps.tar.gz) = 42d1f938ade119ab73cb8da7b2fe4758a4288a869e8fbb2974c0f2fe8e4418af826a2cc0dbf282e0a30cf814fc3ea18dccda2ff6b6c2ab62e6d0e1ea1916c909
+Size (XyGrib-1.1.1/XyGrib___High_Resolution_Maps.tar.gz) = 103284692 bytes
+SHA1 (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = eb82eb192bb3d6d97ebb32a21fdf7737bb640f94
+RMD160 (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = 1c47e3af9884e1a927b1e717f938178f12a17fa8
+SHA512 (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = 6bb9362c87fec7633b0ad1fd3b8717408c0fffa36631db1d1a680928c724e8e49758c292cac164ad7a9773fd51a432d25628eecbaa1261f5f3c5ab6fc499fd01
+Size (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = 2487518 bytes
+SHA1 (patch-CMakeLists.txt) = 011146a46621b1948a6d1bfae1605d769beff4df
Index: pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt:1.1
--- /dev/null Mon Nov 4 18:35:22 2019
+++ pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt Mon Nov 4 18:35:22 2019
@@ -0,0 +1,115 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/11/04 18:35:22 nros Exp $
+
+* sanitze the names and dirs to search for libs and headers files
+* use PATH_SUFFIX fix to find openjpeg
+* install bins and data into the right directory
+* don't install cmake files in the translation directory
+* install icon and desktop files
+* install hi-res maps
+
+--- CMakeLists.txt.orig 2019-07-05 09:01:01.000000000 +0000
++++ CMakeLists.txt
+@@ -54,71 +54,23 @@ find_package(Qt5Xml CONFIG REQUIRED)
+ include_directories(${Qt5Xml_INCLUDE_DIRS})
+
+ find_library(LIBNOVA_LIBRARY
+- NAMES "libnova.a" "libnova.so"
+- PATHS
+- $ENV{EXTERNLIBS}/lib
+- ~/Library/Frameworks
+- /Library/Frameworks
+- /usr/local
+- /usr
+- /sw
+- /opt/local
+- /opt/csw
+- /opt
+- PATH_SUFFIXES lib lib64 lib/x86_64-linux-gnu lib/i386-linux-gnu lib/armhf-linux-gnu lib/arm64-linux-gnu
++ NAMES "nova" "libnova"
+ REQUIRED
+ )
+ find_path(LIBNOVA_INCLUDE_DIR
+- NAMES "libnova/libnova.h" "libnova.h"
+- PATHS
+- $ENV{EXTERNLIBS}/include
+- ~/Library/Frameworks/include
+- /Library/Frameworks/include
+- /usr/local/include
+- /usr/include
+- /sw/include # Fink
+- /opt/local/include # DarwinPorts
+- /opt/csw/include # Blastwave
+- /opt/include
++ NAMES "libnova/libnova.h"
+ REQUIRED
+ )
+ include_directories(${LIBNOVA_INCLUDE_DIR})
+
+ #find_package(OpenJPEG REQUIRED)
+ find_library(OPENJPEG_LIBRARIES
+-# NAMES "libopenjp2.a" "libopenjp2.so" "libopenjpeg.so.2" "libopenjp2.dll.a"
+- NAMES "libopenjp2.so.7" "libopenjp2.so" "libopenjp2.a" "libopenjpeg.so.2" "libopenjp2.dll.a"
+- PATHS
+- $ENV{EXTERNLIBS}/lib
+- ~/Library/Frameworks
+- /Library/Frameworks
+- /usr/local
+- /usr
+- /sw
+- /opt/local
+- /opt/csw
+- /opt
+- PATH_SUFFIXES lib lib64
++ NAMES "openjp2" "libopenjp2"
+ REQUIRED
+ )
+ find_path(OPENJPEG_INCLUDE_DIR
+ NAMES "openjpeg.h"
+- PATHS
+- $ENV{EXTERNLIBS}/include
+- ~/Library/Frameworks/include
+- /Library/Frameworks/include
+- /usr/local/include
+- /usr/local/include/openjpeg-2.3
+- /usr/include/openjpeg-2.3
+- /usr/local/include/openjpeg-2.1
+- /usr/include/openjpeg-2.1
+- /usr/local/include/openjpeg-2.2
+- /usr/include/openjpeg-2.2
+- /usr/include
+- /sw/include # Fink
+- /opt/local/include # DarwinPorts
+- /opt/csw/include # Blastwave
+- /opt/include
++ PATH_SUFFIXES openjpeg-2.3
+ REQUIRED
+ )
+ include_directories(${OPENJPEG_INCLUDE_DIR})
+@@ -222,8 +174,9 @@ set(PREFIX_PKGDATA ".")
+ endif()
+ if(UNIX AND NOT APPLE)
+ # This is not exactly a good idea on linux - the code should be changed so that the executable would go to /usr/local/bin and the data to /usr/local/share/XyGrib
+-set(PREFIX_BIN ${PROJECT_NAME})
+-set(PREFIX_PKGDATA ${PROJECT_NAME})
++include(GNUInstallDirs)
++set(PREFIX_BIN ${CMAKE_INSTALL_FULL_BINDIR})
++set(PREFIX_PKGDATA ${CMAKE_INSTALL_FULL_DATADIR}/openGribs/${PROJECT_NAME})
+ endif()
+
+ add_subdirectory(src)
+@@ -241,4 +194,14 @@ set_target_properties(${PROJECT_NAME} PR
+ set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_BUNDLE_VERSION "${XYGRIB_VERSION}")
+ set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_COPYRIGHT "${PROJECT_NAME} Authors")
+ # Install data
+-install(DIRECTORY data DESTINATION ${PREFIX_PKGDATA})
++install(DIRECTORY data DESTINATION ${PREFIX_PKGDATA}
++ PATTERN "CMakeFiles" EXCLUDE
++ PATTERN "CMakeLists.txt" EXCLUDE
++ PATTERN "Makefile" EXCLUDE
++ PATTERN "cmake_install.cmake" EXCLUDE
++ PATTERN "*.ts" EXCLUDE)
++install(FILES debian/xygrib.desktop
++ DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/applications)
++install(FILES debian/xygrib.png
++ DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/pixmaps)
++install(DIRECTORY ../data/ DESTINATION ${PREFIX_PKGDATA})
Home |
Main Index |
Thread Index |
Old Index