Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2018 18:45:43 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474646 - in head/misc: . zygrib-maps
Message-ID:  <201807141845.w6EIjhwG092933@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Jul 14 18:45:43 2018
New Revision: 474646
URL: https://svnweb.freebsd.org/changeset/ports/474646

Log:
  New port: misc/zygrib-maps: High resolution maps for zyGrib

Added:
  head/misc/zygrib-maps/
  head/misc/zygrib-maps/Makefile   (contents, props changed)
  head/misc/zygrib-maps/distinfo   (contents, props changed)
  head/misc/zygrib-maps/pkg-descr   (contents, props changed)
  head/misc/zygrib-maps/pkg-plist   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Sat Jul 14 18:43:20 2018	(r474645)
+++ head/misc/Makefile	Sat Jul 14 18:45:43 2018	(r474646)
@@ -568,5 +568,6 @@
     SUBDIR += ytree
     SUBDIR += zoneinfo
     SUBDIR += zygrib
+    SUBDIR += zygrib-maps
 
 .include <bsd.port.subdir.mk>

Added: head/misc/zygrib-maps/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/zygrib-maps/Makefile	Sat Jul 14 18:45:43 2018	(r474646)
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME=	zygrib-maps
+DISTVERSION=	2.4
+MASTER_SITES=	http://www.zygrib.org/getfile.php?file=
+CATEGORIES=	misc
+DISTNAME=	zyGrib_maps${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	High resolution maps for zyGrib
+
+LICENSE=	GPLv3
+
+FETCH_DEPENDS=	curl:ftp/curl
+RUN_DEPENDS=	zygrib>0:misc/zygrib
+
+USES=		tar:tgz
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+DATADIR=	${PREFIX}/share/zygrib
+
+local-makesum: # Workaround: the generic 'make makesum' is broken when custom do-fetch is defined: it calls ${SCRIPTSDIR}/do-fetch.sh.
+	@${MAKE} distclean fetch makesum
+
+do-fetch: # fetch needs cookies
+	@if [ "${FORCE_FETCH_ALL}" = "true" ] || ! [ -f "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" ]; then \
+		${LOCALBASE}/bin/curl -fLC - \
+			--cookie nada -o /dev/null "${MASTER_SITES}${DISTNAME}${EXTRACT_SUFX}" \
+			--next \
+			--cookie nada --retry-delay 3 -o "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" "${MASTER_SITES}${DISTNAME}${EXTRACT_SUFX}"; \
+	fi
+
+do-install:
+	cd ${WRKDIR}/data/maps/gshhs && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DATADIR}/maps/gshhs
+	@${RM} ${STAGEDIR}${DATADIR}/maps/gshhs/README.*
+
+.include <bsd.port.mk>

Added: head/misc/zygrib-maps/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/zygrib-maps/distinfo	Sat Jul 14 18:45:43 2018	(r474646)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1531589043
+SHA256 (zyGrib_maps2.4.tgz) = 3cd6bf3de709ff4afb193a7bb5455f28d6ab540687a97f2d978bd0a21592750e
+SIZE (zyGrib_maps2.4.tgz) = 105735981

Added: head/misc/zygrib-maps/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/zygrib-maps/pkg-descr	Sat Jul 14 18:45:43 2018	(r474646)
@@ -0,0 +1,3 @@
+Maps for zyGrib, the weather data visualizer.
+
+WWW: http://www.zygrib.org/

Added: head/misc/zygrib-maps/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/zygrib-maps/pkg-plist	Sat Jul 14 18:45:43 2018	(r474646)
@@ -0,0 +1,10 @@
+%%DATADIR%%/maps/gshhs/gshhs_0.rim
+%%DATADIR%%/maps/gshhs/gshhs_1.rim
+%%DATADIR%%/maps/gshhs/rangs_0.cat
+%%DATADIR%%/maps/gshhs/rangs_0.cel
+%%DATADIR%%/maps/gshhs/rangs_1.cat
+%%DATADIR%%/maps/gshhs/rangs_1.cel
+%%DATADIR%%/maps/gshhs/wdb_borders_f.b
+%%DATADIR%%/maps/gshhs/wdb_borders_h.b
+%%DATADIR%%/maps/gshhs/wdb_rivers_f.b
+%%DATADIR%%/maps/gshhs/wdb_rivers_h.b



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807141845.w6EIjhwG092933>