summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-06-04 10:57:59 +0000
committerdrochner <drochner@pkgsrc.org>2009-06-04 10:57:59 +0000
commit77e226e240385ea823c06f1f6cd0653695fff563 (patch)
tree36d7662e56dd49ba9e35993fa2609cad1d86fd4b /geography
parent394b74849d0549a441b84e16c7827d0ef8bdbef4 (diff)
downloadpkgsrc-77e226e240385ea823c06f1f6cd0653695fff563.tar.gz
import merkaartor-0.13.2, an openstreetmap editor, from Jochen Kunz
per mail to pkgsrc-users
Diffstat (limited to 'geography')
-rw-r--r--geography/merkaartor/DESCR3
-rw-r--r--geography/merkaartor/Makefile47
-rw-r--r--geography/merkaartor/PLIST16
-rw-r--r--geography/merkaartor/distinfo6
-rw-r--r--geography/merkaartor/patches/patch-aa13
5 files changed, 85 insertions, 0 deletions
diff --git a/geography/merkaartor/DESCR b/geography/merkaartor/DESCR
new file mode 100644
index 00000000000..2d02166c887
--- /dev/null
+++ b/geography/merkaartor/DESCR
@@ -0,0 +1,3 @@
+Merkaartor is an openstreetmap mapping program. Merkaartor focuses on
+providing a visually pleasing but performant editing environment for free
+geographical data.
diff --git a/geography/merkaartor/Makefile b/geography/merkaartor/Makefile
new file mode 100644
index 00000000000..19aede0185e
--- /dev/null
+++ b/geography/merkaartor/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/06/04 10:57:59 drochner Exp $
+#
+
+DISTNAME= merkaartor-0.13.2
+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+= 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_SED.installtarget= -e 's:--mode=install cp "$$(QMAKE_TARGET)":--mode=install cp "$$(TARGET)":'
+
+do-configure:
+ cd ${WRKSRC} && \
+ ${QTDIR}/bin/lrelease Merkaartor.pro
+ cd ${WRKSRC} && \
+ ${QMAKE} ${CONFIGURE_ARGS} Merkaartor.pro
+
+.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 "../../mk/bsd.pkg.mk"
diff --git a/geography/merkaartor/PLIST b/geography/merkaartor/PLIST
new file mode 100644
index 00000000000..6203d92f648
--- /dev/null
+++ b/geography/merkaartor/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/06/04 10:57:59 drochner Exp $
+bin/merkaartor
+share/merkaartor/translations/merkaartor_ar.qm
+share/merkaartor/translations/merkaartor_cs.qm
+share/merkaartor/translations/merkaartor_de.qm
+share/merkaartor/translations/merkaartor_es.qm
+share/merkaartor/translations/merkaartor_fr.qm
+share/merkaartor/translations/merkaartor_it.qm
+share/merkaartor/translations/merkaartor_pl.qm
+share/merkaartor/translations/merkaartor_ru.qm
+share/merkaartor/world_shp/world_adm0.dbf
+share/merkaartor/world_shp/world_adm0.shp
+share/merkaartor/world_shp/world_adm0.shx
+@dirrm share/merkaartor/world_shp
+@dirrm share/merkaartor/translations
+@dirrm share/merkaartor
diff --git a/geography/merkaartor/distinfo b/geography/merkaartor/distinfo
new file mode 100644
index 00000000000..6f98605fc71
--- /dev/null
+++ b/geography/merkaartor/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/06/04 10:57:59 drochner Exp $
+
+SHA1 (merkaartor-0.13.2.tar.bz2) = e8e0d006ba6a4859425cccefacbf2bfc4352d883
+RMD160 (merkaartor-0.13.2.tar.bz2) = 809139ef9a9361882802a813b0a90ba1988e2eac
+Size (merkaartor-0.13.2.tar.bz2) = 3010664 bytes
+SHA1 (patch-aa) = 971072299821af8388923d66c90ba445d804319e
diff --git a/geography/merkaartor/patches/patch-aa b/geography/merkaartor/patches/patch-aa
new file mode 100644
index 00000000000..e75ea55e610
--- /dev/null
+++ b/geography/merkaartor/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/06/04 10:57:59 drochner Exp $
+
+--- Merkaartor.pro.orig 2009-06-03 19:58:54.000000000 +0200
++++ Merkaartor.pro
+@@ -85,7 +85,7 @@ BINTRANSLATIONS += \
+ translations/merkaartor_ar.qm \
+ translations/merkaartor_cs.qm \
+ translations/merkaartor_de.qm \
+- translations/merkaartor_es.ts \
++ translations/merkaartor_es.qm \
+ translations/merkaartor_fr.qm \
+ translations/merkaartor_it.qm \
+ translations/merkaartor_pl.qm \