pkgsrc/geography/opencpn-plugin-weather_routing/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

2021-12-08 17:01:42 +01:00
# $NetBSD: Makefile,v 1.27 2021/12/08 16:04:46 adam Exp $
#
VERSION= 20180827
DISTNAME= weather_routing_pi-${VERSION}
PKGNAME= opencpn-plugin-weather_routing-${VERSION}
2021-12-08 17:01:42 +01:00
PKGREVISION= 7
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/}
GITHUB_PROJECT= weather_routing_pi
GITHUB_TAG= 44695011d39c390784220589b9bd25932b73af3e
MAINTAINER= bouyer@NetBSD.org
2017-04-14 18:42:24 +02:00
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"