From 50160ab9d4b39938c7c321f63bf800be73f2aa10 Mon Sep 17 00:00:00 2001 From: nros Date: Sat, 22 Aug 2015 17:42:53 +0000 Subject: Import of libmemphis02 to pkgsrc-current from pkgsrc-wip. Imported to pkgsrc-wip by myself(nros). Memphis is a library for OpenStreetMap written in C using eXpat, Cairo and GLib. It's licensed under the terms of the GNU Lesser General Public License. --- geography/libmemphis02/DESCR | 3 ++ geography/libmemphis02/Makefile | 34 ++++++++++++++++++++++ geography/libmemphis02/PLIST | 32 ++++++++++++++++++++ geography/libmemphis02/buildlink3.mk | 15 ++++++++++ geography/libmemphis02/distinfo | 7 +++++ .../libmemphis02/patches/patch-demos_Makefile.am | 13 +++++++++ .../patches/patch-docs_reference_Makefile.am | 13 +++++++++ 7 files changed, 117 insertions(+) create mode 100644 geography/libmemphis02/DESCR create mode 100644 geography/libmemphis02/Makefile create mode 100644 geography/libmemphis02/PLIST create mode 100644 geography/libmemphis02/buildlink3.mk create mode 100644 geography/libmemphis02/distinfo create mode 100644 geography/libmemphis02/patches/patch-demos_Makefile.am create mode 100644 geography/libmemphis02/patches/patch-docs_reference_Makefile.am (limited to 'geography/libmemphis02') diff --git a/geography/libmemphis02/DESCR b/geography/libmemphis02/DESCR new file mode 100644 index 00000000000..c94fd287ea6 --- /dev/null +++ b/geography/libmemphis02/DESCR @@ -0,0 +1,3 @@ +Memphis is a library for OpenStreetMap written in C using eXpat, +Cairo and GLib. It's licensed under the terms of the GNU Lesser +General Public License. diff --git a/geography/libmemphis02/Makefile b/geography/libmemphis02/Makefile new file mode 100644 index 00000000000..7946757b036 --- /dev/null +++ b/geography/libmemphis02/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1 2015/08/22 17:42:53 nros Exp $ + +DISTNAME= memphis-0.2.3 +PKGNAME= libmemphis02-0.2.3 +CATEGORIES= geography +MASTER_SITES= ${MASTER_SITE_GITHUB:=jiuka/} +GITHUB_PROJECT= memphis +EXTRACT_USING= bsdtar + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/jiuka/memphis +COMMENT= Library for OpenStreetMap +LICENSE= gnu-lgpl-v2.1 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= aclocal autoconf autoheader automake gmake pkg-config + +CONFIGURE_ARGS+=--enable-gtk-doc + +PKGCONFIG_OVERRIDE+=memphis.pc.in + +pre-configure: + set -e; cd ${WRKSRC}; \ + libtoolize --copy; aclocal -I m4; \ + gtkdocize --copy; autoheader; \ + automake -a --foreign -i --add-missing; autoconf + +.include "../../devel/glib2/buildlink3.mk" +.include "../../graphics/cairo/buildlink3.mk" +.include "../../textproc/expat/buildlink3.mk" +.include "../../textproc/gtk-doc/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/geography/libmemphis02/PLIST b/geography/libmemphis02/PLIST new file mode 100644 index 00000000000..7a939092c51 --- /dev/null +++ b/geography/libmemphis02/PLIST @@ -0,0 +1,32 @@ +@comment $NetBSD: PLIST,v 1.1 2015/08/22 17:42:53 nros Exp $ +include/libmemphis-0.2/memphis/memphis-data-pool.h +include/libmemphis-0.2/memphis/memphis-debug.h +include/libmemphis-0.2/memphis/memphis-map.h +include/libmemphis-0.2/memphis/memphis-renderer.h +include/libmemphis-0.2/memphis/memphis-rule-set.h +include/libmemphis-0.2/memphis/memphis-rule.h +include/libmemphis-0.2/memphis/memphis.h +lib/libmemphis-0.2.la +lib/pkgconfig/memphis-0.2.pc +share/gtk-doc/html/libmemphis-0.2/MemphisDataPool.html +share/gtk-doc/html/libmemphis-0.2/MemphisMap.html +share/gtk-doc/html/libmemphis-0.2/MemphisRenderer.html +share/gtk-doc/html/libmemphis-0.2/MemphisRule.html +share/gtk-doc/html/libmemphis-0.2/MemphisRuleSet.html +share/gtk-doc/html/libmemphis-0.2/annotation-glossary.html +share/gtk-doc/html/libmemphis-0.2/api-index-full.html +share/gtk-doc/html/libmemphis-0.2/ch01.html +share/gtk-doc/html/libmemphis-0.2/home.png +share/gtk-doc/html/libmemphis-0.2/index.html +share/gtk-doc/html/libmemphis-0.2/index.sgml +share/gtk-doc/html/libmemphis-0.2/left-insensitive.png +share/gtk-doc/html/libmemphis-0.2/left.png +share/gtk-doc/html/libmemphis-0.2/libmemphis-0.2.devhelp2 +share/gtk-doc/html/libmemphis-0.2/libmemphis-MemphisDebug.html +share/gtk-doc/html/libmemphis-0.2/object-tree.html +share/gtk-doc/html/libmemphis-0.2/right-insensitive.png +share/gtk-doc/html/libmemphis-0.2/right.png +share/gtk-doc/html/libmemphis-0.2/style.css +share/gtk-doc/html/libmemphis-0.2/up-insensitive.png +share/gtk-doc/html/libmemphis-0.2/up.png +share/memphis-0.2/default-rules.xml diff --git a/geography/libmemphis02/buildlink3.mk b/geography/libmemphis02/buildlink3.mk new file mode 100644 index 00000000000..bc3c28b9a67 --- /dev/null +++ b/geography/libmemphis02/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2015/08/22 17:42:53 nros Exp $ + +BUILDLINK_TREE+= libmemphis02 + +.if !defined(LIBMEMPHIS02_BUILDLINK3_MK) +LIBMEMPHIS02_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libmemphis02+= libmemphis02>=0.2.3 +BUILDLINK_PKGSRCDIR.libmemphis02?= ../../geography/libmemphis02 + +.include "../../devel/glib2/buildlink3.mk" +.include "../../graphics/cairo/buildlink3.mk" +.endif # LIBMEMPHIS02_BUILDLINK3_MK + +BUILDLINK_TREE+= -libmemphis02 diff --git a/geography/libmemphis02/distinfo b/geography/libmemphis02/distinfo new file mode 100644 index 00000000000..9eb550ec7e7 --- /dev/null +++ b/geography/libmemphis02/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2015/08/22 17:42:53 nros Exp $ + +SHA1 (memphis-0.2.3.tar.gz) = dbc2f61e49b996dc9ca91df0de9a08eb7adbfa9b +RMD160 (memphis-0.2.3.tar.gz) = e00f510a97b4b0adb738dcb0949f65d8a7fe21fb +Size (memphis-0.2.3.tar.gz) = 3417472 bytes +SHA1 (patch-demos_Makefile.am) = 72337c9220d63f00ef462612ff6b2e5062dc5c8d +SHA1 (patch-docs_reference_Makefile.am) = 695e940e4f180968dce4caa868204369fb4e000d diff --git a/geography/libmemphis02/patches/patch-demos_Makefile.am b/geography/libmemphis02/patches/patch-demos_Makefile.am new file mode 100644 index 00000000000..3c964c036a5 --- /dev/null +++ b/geography/libmemphis02/patches/patch-demos_Makefile.am @@ -0,0 +1,13 @@ +$NetBSD: patch-demos_Makefile.am,v 1.1 2015/08/22 17:42:53 nros Exp $ +* install in versioned directory +--- demos/Makefile.am.orig 2010-06-20 13:23:27.000000000 +0000 ++++ demos/Makefile.am +@@ -6,7 +6,7 @@ AM_LDFLAGS = $(DEPS_LIBS) ../memphis/lib + + tile_renderer_SOURCES = tile-renderer.c + +-memphisrulesdir = $(datadir)/memphis ++memphisrulesdir = $(datadir)/memphis-0.2 + memphisrules_DATA = \ + default-rules.xml + diff --git a/geography/libmemphis02/patches/patch-docs_reference_Makefile.am b/geography/libmemphis02/patches/patch-docs_reference_Makefile.am new file mode 100644 index 00000000000..9e0ba1686e3 --- /dev/null +++ b/geography/libmemphis02/patches/patch-docs_reference_Makefile.am @@ -0,0 +1,13 @@ +$NetBSD: patch-docs_reference_Makefile.am,v 1.1 2015/08/22 17:42:53 nros Exp $ +* Install versioned docs +--- docs/reference/Makefile.am.orig 2010-06-20 13:23:27.000000000 +0000 ++++ docs/reference/Makefile.am +@@ -12,7 +12,7 @@ AUTOMAKE_OPTIONS = 1.6 + DOC_MODULE=libmemphis + + # Uncomment for versioned docs and specify the version of the module, e.g. '2'. +-#DOC_MODULE_VERSION=2 ++DOC_MODULE_VERSION=0.2 + + + # The top-level SGML file. You can change this if you want to. -- cgit v1.2.3