openbsd-ports/geo/merkaartor/Makefile

36 lines
893 B
Makefile

# $OpenBSD: Makefile,v 1.21 2015/12/29 19:49:40 jasper Exp $
COMMENT = OpenStreetMap editor
GH_ACCOUNT = openstreetmap
GH_PROJECT = merkaartor
GH_TAGNAME = 0.18.2
SHARED_ONLY = Yes
CATEGORIES = geo x11
HOMEPAGE = http://www.merkaartor.be/
MAINTAINER = Landry Breuil <landry@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
NO_TEST = Yes
MODULES = devel/gettext x11/qt4
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
LIB_DEPENDS = devel/proj geo/gdal
WANTLIB += QtGui QtNetwork QtSvg QtWebKit QtXml c m proj pthread gdal
WANTLIB += stdc++ z ICE SM X11 Xext Xi Xinerama Xrender fontconfig freetype sqlite3
do-configure:
cd ${WRKSRC} && env ${CONFIGURE_ENV} qmake4 PROJ=1 NODEBUG=1 RELEASE=1 \
PREFIX=${WRKINST}${PREFIX} TRANSDIR_MERKAARTOR=${WRKINST}/${PREFIX}/share/merkaartor/translations
pre-build:
cd ${WRKSRC}/translations && ${MAKE} release
.include <bsd.port.mk>