[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / geography / opencpn-plugin-weather_routing

File: [cvs.NetBSD.org] / pkgsrc / geography / opencpn-plugin-weather_routing / Makefile (download)

Revision 1.25, Tue Mar 10 22:10:01 2020 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.24: +2 -2 lines

librsvg: update bl3.mk to remove libcroco in rust case

recursive bump for the dependency change

# $NetBSD: Makefile,v 1.25 2020/03/10 22:10:01 wiz Exp $
#

VERSION=	20180827
DISTNAME=	weather_routing_pi-${VERSION}
PKGNAME=	opencpn-plugin-weather_routing-${VERSION}
PKGREVISION=	5
CATEGORIES=	geography
MASTER_SITES=	${MASTER_SITE_GITHUB:=seandepagnier/}
GITHUB_PROJECT=	weather_routing_pi
GITHUB_TAG=	44695011d39c390784220589b9bd25932b73af3e

MAINTAINER=	bouyer@NetBSD.org
HOMEPAGE=	https://opencpn.org/OpenCPN/plugins/weatherroute.html
COMMENT=	creates optimized weather routes using grib data in OpenCPN
LICENSE=	gnu-gpl-v3

USE_LANGUAGES=		c c++
USE_TOOLS=		gettext
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

SUBST_CLASSES+=		isnan
SUBST_STAGE.isnan=	pre-configure
SUBST_MESSAGE.isnan=	replace wxIsNaN with std::isnan
SUBST_FILES.isnan=	src/BoatDialog.cpp \
			src/ReportDialog.cpp \
			src/EditPolarDialog.cpp \
			src/Polar.cpp \
			src/RouteMap.cpp \
			src/RouteMapOverlay.cpp \
			src/SailboatTransform.cpp \
			src/WeatherRouting.cpp
SUBST_SED.isnan=	-e s,wxIsNaN,std::isnan,g


.include "../../devel/cmake/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
.include "../../textproc/tinyxml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"