summaryrefslogtreecommitdiffstats
path: root/graphics/libchamplain
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-09 13:54:46 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-01-09 13:54:46 +0800
commitb92f21d7f9e59223a1cfeadbfd0294a6197d8c63 (patch)
tree3b72e84d12ae1ba60b369c9e64ecece6758a29e9 /graphics/libchamplain
parentb73bc454837eec789e9b35952438954ea32949fc (diff)
downloadmarcuscom-ports-b92f21d7f9e59223a1cfeadbfd0294a6197d8c63.tar
marcuscom-ports-b92f21d7f9e59223a1cfeadbfd0294a6197d8c63.tar.gz
marcuscom-ports-b92f21d7f9e59223a1cfeadbfd0294a6197d8c63.tar.bz2
marcuscom-ports-b92f21d7f9e59223a1cfeadbfd0294a6197d8c63.tar.lz
marcuscom-ports-b92f21d7f9e59223a1cfeadbfd0294a6197d8c63.tar.xz
marcuscom-ports-b92f21d7f9e59223a1cfeadbfd0294a6197d8c63.tar.zst
marcuscom-ports-b92f21d7f9e59223a1cfeadbfd0294a6197d8c63.zip
Remove the dependency on gir-repository-gtk20 as this is now installed by
gtk20. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13394 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/libchamplain')
-rw-r--r--graphics/libchamplain/Makefile55
-rw-r--r--graphics/libchamplain/distinfo3
-rw-r--r--graphics/libchamplain/pkg-descr10
-rw-r--r--graphics/libchamplain/pkg-plist93
4 files changed, 161 insertions, 0 deletions
diff --git a/graphics/libchamplain/Makefile b/graphics/libchamplain/Makefile
new file mode 100644
index 000000000..e28e02028
--- /dev/null
+++ b/graphics/libchamplain/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: libchamplain
+# Date Created: 04 Aug 2009
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/graphics/libchamplain/Makefile,v 1.11 2009/10/27 11:50:35 kwm Exp $
+#
+
+PORTNAME= libchamplain
+PORTVERSION= 0.4.2
+PORTREVISION= 1
+CATEGORIES= graphics
+MASTER_SITES= GNOME
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A C library aimed to provide a Gtk+ widget to display rasterized maps and markers
+
+LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3 \
+ clutter-gtk-0.10.0:${PORTSDIR}/graphics/clutter-gtk \
+ soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup
+
+USE_BZIP2= yes
+USE_GNOME= pkgconfig gtk20 gnomehack ltverhack:1
+USE_AUTOTOOLS= libtool:22
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+# python bindings and mono need to be ported to clutter 1.0 first.
+# And clutter 1.0 versions of py-clutter and clutter-sharp need to
+# get released upstream too.
+CONFIGURE_ARGS+=--enable-managed=no
+
+PLIST_SUB= VERSION=${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+
+.if !defined(WITHOUT_PYTHON)
+USE_PYTHON= yes
+PYCLUTTER_GTK= ${LOCALBASE}/libdata/pkgconfig/pyclutter-gtk-0.9.pc
+BUILD_DEPENDS+= ${PYCLUTTER_GTK}:${PORTSDIR}/graphics/py-clutter-gtk
+RUN_DEPENDS+= ${PYCLUTTER_GTK}:${PORTSDIR}/graphics/py-clutter-gtk
+CONFIGURE_ARGS+= --enable-python=yes
+PLIST_SUB+= PYTHON=""
+.else
+CONFIGURE_ARGS+= --enable-python=no
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+.pre-everything:
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "Specify WITHOUT_PYTHON=yes to disable python bindings"
+ @${ECHO_CMD} ""
+
+.include <bsd.port.mk>
diff --git a/graphics/libchamplain/distinfo b/graphics/libchamplain/distinfo
new file mode 100644
index 000000000..0dc58e456
--- /dev/null
+++ b/graphics/libchamplain/distinfo
@@ -0,0 +1,3 @@
+MD5 (libchamplain-0.4.2.tar.bz2) = 20bd6c479ba4ba17d413a689d82923d9
+SHA256 (libchamplain-0.4.2.tar.bz2) = 2b1f8fc49e306a3a6da3ef3fea8630c76cecdffbfa53c251e7e15af8f4b8d77f
+SIZE (libchamplain-0.4.2.tar.bz2) = 519743
diff --git a/graphics/libchamplain/pkg-descr b/graphics/libchamplain/pkg-descr
new file mode 100644
index 000000000..c93152a7d
--- /dev/null
+++ b/graphics/libchamplain/pkg-descr
@@ -0,0 +1,10 @@
+Libchamplain is a C library providing a ClutterActor to display maps. It also
+provides a Gtk+ widget to display maps in Gtk+ applications. Mono, Python and
+Perl bindings are available.
+
+It supports numerous free map sources such as OpenStreetMap [1],
+OpenAerialMap [2] and Maps for free [3].
+[1] http://www.openstreetmap.org/ [2] http://www.openaerialmap.org/
+[3] http://www.maps-for-free.com/
+
+WWW: http://projects.gnome.org/libchamplain/
diff --git a/graphics/libchamplain/pkg-plist b/graphics/libchamplain/pkg-plist
new file mode 100644
index 000000000..1ecbf217c
--- /dev/null
+++ b/graphics/libchamplain/pkg-plist
@@ -0,0 +1,93 @@
+include/libchamplain-%%VERSION%%/champlain/champlain-base-marker.h
+include/libchamplain-%%VERSION%%/champlain/champlain-cache.h
+include/libchamplain-%%VERSION%%/champlain/champlain-defines.h
+include/libchamplain-%%VERSION%%/champlain/champlain-enum-types.h
+include/libchamplain-%%VERSION%%/champlain/champlain-layer.h
+include/libchamplain-%%VERSION%%/champlain/champlain-map-source-desc.h
+include/libchamplain-%%VERSION%%/champlain/champlain-map-source-factory.h
+include/libchamplain-%%VERSION%%/champlain/champlain-map-source.h
+include/libchamplain-%%VERSION%%/champlain/champlain-marker.h
+include/libchamplain-%%VERSION%%/champlain/champlain-network-map-source.h
+include/libchamplain-%%VERSION%%/champlain/champlain-point.h
+include/libchamplain-%%VERSION%%/champlain/champlain-polygon.h
+include/libchamplain-%%VERSION%%/champlain/champlain-selection-layer.h
+include/libchamplain-%%VERSION%%/champlain/champlain-tile.h
+include/libchamplain-%%VERSION%%/champlain/champlain-version.h
+include/libchamplain-%%VERSION%%/champlain/champlain-view.h
+include/libchamplain-%%VERSION%%/champlain/champlain-zoom-level.h
+include/libchamplain-%%VERSION%%/champlain/champlain.h
+include/libchamplain-gtk-%%VERSION%%/champlain-gtk/champlain-gtk.h
+include/libchamplain-gtk-%%VERSION%%/champlain-gtk/gtk-champlain-embed.h
+lib/girepository-1.0/Champlain-%%VERSION%%.typelib
+lib/girepository-1.0/GtkChamplain-%%VERSION%%.typelib
+lib/libchamplain-%%VERSION%%.a
+lib/libchamplain-%%VERSION%%.la
+lib/libchamplain-%%VERSION%%.so
+lib/libchamplain-%%VERSION%%.so.1
+lib/libchamplain-gtk-%%VERSION%%.a
+lib/libchamplain-gtk-%%VERSION%%.la
+lib/libchamplain-gtk-%%VERSION%%.so
+lib/libchamplain-gtk-%%VERSION%%.so.1
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlain.a
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlain.la
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlain.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlaingtk.a
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlaingtk.la
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlaingtk.so
+libdata/pkgconfig/champlain-%%VERSION%%.pc
+libdata/pkgconfig/champlain-gtk-%%VERSION%%.pc
+share/gir-1.0/Champlain-%%VERSION%%.gir
+share/gir-1.0/GtkChamplain-%%VERSION%%.gir
+share/gtk-doc/html/libchamplain-gtk/GtkChamplainEmbed.html
+share/gtk-doc/html/libchamplain-gtk/ch01.html
+share/gtk-doc/html/libchamplain-gtk/home.png
+share/gtk-doc/html/libchamplain-gtk/index.html
+share/gtk-doc/html/libchamplain-gtk/index.sgml
+share/gtk-doc/html/libchamplain-gtk/left.png
+share/gtk-doc/html/libchamplain-gtk/libchamplain-gtk.devhelp
+share/gtk-doc/html/libchamplain-gtk/libchamplain-gtk.devhelp2
+share/gtk-doc/html/libchamplain-gtk/right.png
+share/gtk-doc/html/libchamplain-gtk/style.css
+share/gtk-doc/html/libchamplain-gtk/up.png
+share/gtk-doc/html/libchamplain/ChamplainBaseMarker.html
+share/gtk-doc/html/libchamplain/ChamplainCache.html
+share/gtk-doc/html/libchamplain/ChamplainLayer.html
+share/gtk-doc/html/libchamplain/ChamplainMapSource.html
+share/gtk-doc/html/libchamplain/ChamplainMapSourceFactory.html
+share/gtk-doc/html/libchamplain/ChamplainMarker.html
+share/gtk-doc/html/libchamplain/ChamplainNetworkMapSource.html
+share/gtk-doc/html/libchamplain/ChamplainPolygon.html
+share/gtk-doc/html/libchamplain/ChamplainSelectionLayer.html
+share/gtk-doc/html/libchamplain/ChamplainTile.html
+share/gtk-doc/html/libchamplain/ChamplainView.html
+share/gtk-doc/html/libchamplain/ch01.html
+share/gtk-doc/html/libchamplain/ch02.html
+share/gtk-doc/html/libchamplain/ch03.html
+share/gtk-doc/html/libchamplain/home.png
+share/gtk-doc/html/libchamplain/index.html
+share/gtk-doc/html/libchamplain/index.sgml
+share/gtk-doc/html/libchamplain/ix01.html
+share/gtk-doc/html/libchamplain/ix02.html
+share/gtk-doc/html/libchamplain/ix03.html
+share/gtk-doc/html/libchamplain/ix04.html
+share/gtk-doc/html/libchamplain/ix05.html
+share/gtk-doc/html/libchamplain/ix06.html
+share/gtk-doc/html/libchamplain/ix07.html
+share/gtk-doc/html/libchamplain/ix08.html
+share/gtk-doc/html/libchamplain/left.png
+share/gtk-doc/html/libchamplain/libchamplain-Champlain.html
+share/gtk-doc/html/libchamplain/libchamplain-ChamplainPoint.html
+share/gtk-doc/html/libchamplain/libchamplain-ChamplainVersion.html
+share/gtk-doc/html/libchamplain/libchamplain.devhelp
+share/gtk-doc/html/libchamplain/libchamplain.devhelp2
+share/gtk-doc/html/libchamplain/right.png
+share/gtk-doc/html/libchamplain/style.css
+share/gtk-doc/html/libchamplain/up.png
+@dirrm share/gtk-doc/html/libchamplain
+@dirrm share/gtk-doc/html/libchamplain-gtk
+@dirrmtry share/gtk-doc/html
+@dirrmtry share/gtk-doc
+@dirrm include/libchamplain-gtk-%%VERSION%%/champlain-gtk
+@dirrm include/libchamplain-gtk-%%VERSION%%
+@dirrm include/libchamplain-%%VERSION%%/champlain
+@dirrm include/libchamplain-%%VERSION%%