2014-02-13 00:17:32 +01:00
|
|
|
# $NetBSD: Makefile,v 1.49 2014/02/12 23:17:58 tron Exp $
|
2009-06-04 12:57:59 +02:00
|
|
|
#
|
|
|
|
|
2011-04-11 22:15:00 +02:00
|
|
|
DISTNAME= merkaartor-0.17.2
|
2014-02-13 00:17:32 +01:00
|
|
|
PKGREVISION= 25
|
2009-06-04 12:57:59 +02:00
|
|
|
CATEGORIES= geography
|
2011-04-11 22:15:00 +02:00
|
|
|
MASTER_SITES= http://merkaartor.be/attachments/download/253/
|
2009-06-04 12:57:59 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= jkunz@NetBSD.org
|
2010-09-21 20:51:55 +02:00
|
|
|
HOMEPAGE= http://www.merkaartor.be/
|
2010-09-16 20:09:54 +02:00
|
|
|
COMMENT= Merkaartor is an OpenStreetMap mapping program
|
2009-06-04 12:57:59 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
QMAKE= ${QTDIR}/bin/qmake
|
|
|
|
CONFIGURE_ARGS= PREFIX=${PREFIX} NODEBUG=1 OSMARENDER=1 PROJ=1 GDAL=1 \
|
2011-04-11 22:15:00 +02:00
|
|
|
GEOIMAGE=1 GPSDLIB=1 RELEASE=1
|
2009-06-04 12:57:59 +02:00
|
|
|
|
|
|
|
SUBST_CLASSES+= installtarget
|
|
|
|
SUBST_MESSAGE.installtarget= Fixing wrong install target
|
|
|
|
SUBST_STAGE.installtarget= post-configure
|
2009-09-08 12:19:33 +02:00
|
|
|
SUBST_FILES.installtarget= ${WRKSRC}/src/Makefile
|
2009-06-04 12:57:59 +02:00
|
|
|
SUBST_SED.installtarget= -e 's:--mode=install cp "$$(QMAKE_TARGET)":--mode=install cp "$$(TARGET)":'
|
|
|
|
|
2009-08-03 16:46:24 +02:00
|
|
|
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
|
|
|
|
|
2009-06-04 12:57:59 +02:00
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC} && \
|
2009-09-08 12:19:33 +02:00
|
|
|
${QTDIR}/bin/lrelease src/src.pro
|
2009-06-04 12:57:59 +02:00
|
|
|
cd ${WRKSRC} && \
|
2009-09-08 12:19:33 +02:00
|
|
|
${QMAKE} ${CONFIGURE_ARGS} Merkaartor.pro && \
|
|
|
|
${MAKE} qmake
|
2009-06-04 12:57:59 +02:00
|
|
|
|
2013-02-26 12:15:18 +01:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
_WRAP_EXTRA_ARGS.CXX+= -std=c++11
|
|
|
|
.endif
|
|
|
|
|
2010-06-16 21:43:52 +02:00
|
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
2009-06-04 12:57:59 +02:00
|
|
|
.include "../../geography/gdal-lib/buildlink3.mk"
|
|
|
|
.include "../../geography/gpsd/buildlink3.mk"
|
2010-03-14 17:32:15 +01:00
|
|
|
.include "../../geography/proj/buildlink3.mk"
|
2009-06-04 12:57:59 +02:00
|
|
|
.include "../../graphics/exiv2/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
|
|
.include "../../x11/qt4-tools/buildlink3.mk"
|
2009-09-08 12:19:33 +02:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2012-06-02 18:36:34 +02:00
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
2009-06-04 12:57:59 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|