41 lines
972 B
Makefile
41 lines
972 B
Makefile
# $OpenBSD: Makefile,v 1.4 2021/03/05 09:52:23 landry Exp $
|
|
|
|
COMMENT = map management tool
|
|
|
|
GH_ACCOUNT = Maproom
|
|
GH_PROJECT = qmapshack
|
|
GH_TAGNAME = V_1.15.0
|
|
REVISION = 0
|
|
|
|
CATEGORIES = geo
|
|
|
|
HOMEPAGE = https://github.com/Maproom/qmapshack/wiki
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5DBus Qt5Gui Qt5Help
|
|
WANTLIB += Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5Quick
|
|
WANTLIB += Qt5Sql Qt5WebChannel Qt5WebEngineCore Qt5WebEngineWidgets
|
|
WANTLIB += Qt5Widgets Qt5Xml c gdal jpeg m proj quazip5 routino
|
|
|
|
MODULES = devel/cmake x11/qt5
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
x11/gtk+3,-guic
|
|
LIB_DEPENDS = archivers/quazip \
|
|
devel/proj \
|
|
geo/gdal,-main \
|
|
geo/routino \
|
|
x11/qt5/qtdeclarative \
|
|
x11/qt5/qttools \
|
|
x11/qt5/qtwebengine
|
|
|
|
# https://github.com/Maproom/qmapshack/issues/333
|
|
CONFIGURE_ARGS = -DCMAKE_CXX_FLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 \
|
|
-Wno-dev
|
|
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|