bcallah 61a1b882b3 Update to quazip-0.8.1
Remove the qt5 FLAVOR; qt5 is the only supported/used version these days.
Disable the tests; they've not been updated for qt5 and aren't accessible
from the standard cmake build system.
Update all dependent ports to cope with the FLAVOR removal.
Requested by rsadowski@; improvements by sthen@
2020-01-25 22:57:56 +00:00

44 lines
1000 B
Makefile

# $OpenBSD: Makefile,v 1.41 2020/01/25 22:57:56 bcallah Exp $
COMMENT = OpenStreetMap editor
REVISION = 0
GH_ACCOUNT = openstreetmap
GH_PROJECT = merkaartor
GH_TAGNAME = 0.18.4
CATEGORIES = geo x11
HOMEPAGE = http://www.merkaartor.be/
MAINTAINER = Landry Breuil <landry@openbsd.org>
# GPLv2
PERMIT_PACKAGE = Yes
NO_TEST = Yes
MODULES = devel/qmake x11/qt5
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
# spatialite is marked as non-working
LIB_DEPENDS = devel/proj \
x11/qt5/qtwebkit \
x11/qt5/qtsvg \
archivers/quazip \
geo/gdal
MODQMAKE_ARGS = SYSTEM_QUAZIP=1 SYSTEM_QUAZIP_LDFLAGS=-lquazip5
WANTLIB += GL Qt5Concurrent Qt5Core Qt5Gui Qt5Network Qt5PrintSupport
WANTLIB += Qt5Svg Qt5WebKit Qt5WebKitWidgets Qt5Widgets Qt5Xml
WANTLIB += c gdal m proj quazip5 z ${COMPILER_LIBCXX}
# C++11
COMPILER = base-clang ports-gcc
#generate the .qm files from the .ts files before configure runs
pre-configure:
cd ${WRKSRC} && lrelease-qt5 src/src.pro
.include <bsd.port.mk>