blob: 688f56e3daaca58982a275dc27c5db0d38dc1f26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.4 2009/09/08 10:19:33 drochner Exp $
#
DISTNAME= merkaartor-0.14
CATEGORIES= geography
MASTER_SITES= http://www.merkaartor.org/downloads/source/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jkunz@NetBSD.org
HOMEPAGE= http://www.merkaartor.org/
COMMENT= Merkaartor is an openstreetmap mapping program
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
QMAKE= ${QTDIR}/bin/qmake
CONFIGURE_ARGS= PREFIX=${PREFIX} NODEBUG=1 OSMARENDER=1 PROJ=1 GDAL=1 \
GEOIMAGE=1 GPSD=1
SUBST_CLASSES+= installtarget
SUBST_MESSAGE.installtarget= Fixing wrong install target
SUBST_STAGE.installtarget= post-configure
SUBST_FILES.installtarget= ${WRKSRC}/src/Makefile
SUBST_SED.installtarget= -e 's:--mode=install cp "$$(QMAKE_TARGET)":--mode=install cp "$$(TARGET)":'
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
do-configure:
cd ${WRKSRC} && \
${QTDIR}/bin/lrelease src/src.pro
cd ${WRKSRC} && \
${QMAKE} ${CONFIGURE_ARGS} Merkaartor.pro && \
${MAKE} qmake
.include "../../misc/proj/buildlink3.mk"
.include "../../geography/gdal-lib/buildlink3.mk"
.include "../../geography/gpsd/buildlink3.mk"
.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"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
|