# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
# $FreeBSD: head/astro/qmapshack/Makefile 466261 2018-04-02 20:19:06Z adridg $

PORTNAME=	qmapshack
PORTVERSION=	1.11.0
PORTREVISION=	1
CATEGORIES=	astro
MASTER_SITES=	https://bitbucket.org/maproom/qmapshack/downloads/

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Ultimate outdoor aficionado's tool

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libgdal.so:graphics/gdal \
		libproj.so:graphics/proj \
		libquazip5.so:archivers/quazip@qt5 \
		libroutino.so:astro/routino
RUN_DEPENDS=	${LOCALBASE}/bin/bsdisks:sysutils/bsdisks

USES=		cmake compiler:c++11-lib desktop-file-utils jpeg
USE_QT5=	buildtools core dbus gui linguisttools network printsupport \
		qmake script sql sql-sqlite3 uitools webkit widgets xml

.include <bsd.port.mk>
