[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / geography / qlandkartem

File: [cvs.NetBSD.org] / pkgsrc / geography / qlandkartem / Makefile (download)

Revision 1.43, Thu Aug 24 20:03:20 2017 UTC (2 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.42: +2 -2 lines

Revbump for boost update

# $NetBSD: Makefile,v 1.43 2017/08/24 20:03:20 adam Exp $
#

DISTNAME=	QLandkarteM.0.2.0
PKGNAME=	qlandkartem-0.2.0
PKGREVISION=	37
CATEGORIES=	geography
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=qlandkartegt/}

MAINTAINER=	jkunz@NetBSD.org
HOMEPAGE=	http://www.qlandkarte.org/
COMMENT=	QLandkarteM is a moving map application for mobile devices
LICENSE=	gnu-gpl-v2

WRKSRC=		${WRKDIR}/QLandkarteM
USE_LIBTOOL=	yes
USE_LANGUAGES=	c c++
QMAKE=		${QTDIR}/bin/qmake

SUBST_CLASSES+=		proj
SUBST_STAGE.proj=	pre-configure
SUBST_FILES.proj=	src/*.cpp
SUBST_FILES.proj+=	src/CMapRaster.h
SUBST_SED.proj=		-e '/^.include .projects.h./s/projects/proj_api/'
SUBST_MESSAGE.proj=	Fixing geography/proj interface

INSTALLATION_DIRS+=	bin

do-configure:
	cd ${WRKSRC} && ${QMAKE} ${CONFIGURE_ARGS}

do-install:
	cp ${WRKSRC}/bin/qlm ${DESTDIR}${PREFIX}/bin

DEPENDS+=		qt4-sqlite3>=4.4:../../x11/qt4-sqlite3

.include "../../devel/cmake/buildlink3.mk"
.include "../../geography/gdal-lib/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"