diff options
Diffstat (limited to 'geography/merkaartor/Makefile')
-rw-r--r-- | geography/merkaartor/Makefile | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/geography/merkaartor/Makefile b/geography/merkaartor/Makefile index 8b3145e26bf..688f56e3daa 100644 --- a/geography/merkaartor/Makefile +++ b/geography/merkaartor/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2009/08/26 19:57:35 sno Exp $ +# $NetBSD: Makefile,v 1.4 2009/09/08 10:19:33 drochner Exp $ # -DISTNAME= merkaartor-0.13.2 -PKGREVISION= 1 +DISTNAME= merkaartor-0.14 CATEGORIES= geography MASTER_SITES= http://www.merkaartor.org/downloads/source/ EXTRACT_SUFX= .tar.bz2 @@ -18,25 +17,20 @@ QMAKE= ${QTDIR}/bin/qmake CONFIGURE_ARGS= PREFIX=${PREFIX} NODEBUG=1 OSMARENDER=1 PROJ=1 GDAL=1 \ GEOIMAGE=1 GPSD=1 -SUBST_CLASSES+= libxml2 -SUBST_MESSAGE.libxml2= Fixing hardcoded path: libxml2 -SUBST_STAGE.libxml2= post-configure -SUBST_FILES.libxml2= ${WRKSRC}/Makefile -SUBST_SED.libxml2= -e "s:/usr/include/libxml2:${BUILDLINK_PREFIX.libxml2}/include/libxml2:g" - SUBST_CLASSES+= installtarget SUBST_MESSAGE.installtarget= Fixing wrong install target SUBST_STAGE.installtarget= post-configure -SUBST_FILES.installtarget= ${WRKSRC}/Makefile +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 Merkaartor.pro + ${QTDIR}/bin/lrelease src/src.pro cd ${WRKSRC} && \ - ${QMAKE} ${CONFIGURE_ARGS} Merkaartor.pro + ${QMAKE} ${CONFIGURE_ARGS} Merkaartor.pro && \ + ${MAKE} qmake .include "../../misc/proj/buildlink3.mk" .include "../../geography/gdal-lib/buildlink3.mk" @@ -47,4 +41,5 @@ do-configure: .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" |