xygrib: pkglint fixes for data.mk and patches
pkglint fixes for data.mk and patches.
This commit is contained in:
parent
7b4e45ad37
commit
2308b2730b
|
@ -1,21 +1,25 @@
|
|||
#$NetBSD$
|
||||
# $NetBSD$
|
||||
#
|
||||
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
|
||||
SITES.XyGrib___High_Resolution_Maps.tar.gz=${XYGRIBDS}
|
||||
DISTFILES+=XyGrib___cities_files.tar.gz
|
||||
SITES.XyGrib___cities_files.tar.gz=${XYGRIBDS}
|
||||
DIST_SUBDIR=XyGrib-${XYGRIBDV}
|
||||
XYGRIBDV= 1.1.1
|
||||
XYGRIBDS= https://github.com/openGribs/XyGrib/releases/download/v${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
|
||||
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
|
||||
.endfor
|
||||
post-install: install-cities
|
||||
|
|
|
@ -12,4 +12,4 @@ SHA1 (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = eb82eb192bb3d6d97ebb32a21fdf7
|
|||
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) = f6c5740e9724b0c1f5ed933b3d2b9b303472fa25
|
||||
SHA1 (patch-CMakeLists.txt) = 011146a46621b1948a6d1bfae1605d769beff4df
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
$NetBSD$
|
||||
|
||||
* 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)
|
||||
|
|
Loading…
Reference in New Issue