import osm-gps-map 0.2

Gtk+ widget that when given GPS coordinates, draws a GPS track, and
points of interest on a moving map display.  Downloads map data from a
number of websites, including openstreetmap.org, openaerialmap.org and
others.
This commit is contained in:
jasper 2009-03-04 20:51:23 +00:00
parent 43213b79d7
commit aa48036ded
6 changed files with 92 additions and 0 deletions

49
geo/osm-gps-map/Makefile Normal file
View File

@ -0,0 +1,49 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/03/04 20:51:23 jasper Exp $
COMMENT= Gtk+ Widget for Displaying OpenStreetMap tiles
# original tarball is an archive from git and lacks sane numbering
# in the filename.
DISTNAME= osm-gps-map-0.2
SHARED_LIBS += osmgpsmap 0.0 # .0.0
CATEGORIES= geo x11
HOMEPAGE= http://nzjrs.github.com/osm-gps-map/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://nedbsd.eu/~jasper/distfiles/
MODULES= devel/gettext
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gcrypt gio-2.0 glib-2.0 glitz gmodule-2.0
WANTLIB += gnutls gobject-2.0 gpg-error gthread-2.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += tasn1 xml2 z
USE_LIBTOOL= Yes
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
LIB_DEPENDS= soup-2.4::devel/libsoup \
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
CONFIGURE_STYLE= gnu
AUTOMAKE_VERSION= 1.8
AUTOCONF_VERSION= 2.61
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh \
--enable-cairo
.include <bsd.port.mk>

5
geo/osm-gps-map/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (osm-gps-map-0.2.tar.gz) = ta9vi/ydvJJXw3Um/jhdLQ==
RMD160 (osm-gps-map-0.2.tar.gz) = fk+gERZXVm4vWhpahEhpDD+IOsI=
SHA1 (osm-gps-map-0.2.tar.gz) = ei2LfACXEPNebvUsskVLiHUJPjg=
SHA256 (osm-gps-map-0.2.tar.gz) = 3f8Mb/dWc3TEbXVZGwR0jWQx6jXPl5MHQwpi7WuhMsY=
SIZE (osm-gps-map-0.2.tar.gz) = 180911

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-Makefile_am,v 1.1.1.1 2009/03/04 20:51:23 jasper Exp $
Don't bother intalling bogues (and empty) files.
--- Makefile.am.orig Thu Jan 29 10:01:06 2009
+++ Makefile.am Thu Feb 26 17:03:28 2009
@@ -3,14 +3,8 @@
SUBDIRS = src
-openstreetmap_gps_mapdocdir = ${prefix}/doc/openstreetmap-gps-map
-openstreetmap_gps_mapdoc_DATA = \
- README \
- COPYING \
- AUTHORS \
- ChangeLog \
- INSTALL \
- NEWS
+openstreetmap_gps_mapdocdir =
+openstreetmap_gps_mapdoc_DATA =
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = osmgpsmap.pc

View File

@ -0,0 +1,4 @@
Gtk+ widget that when given GPS coordinates, draws a GPS track, and
points of interest on a moving map display. Downloads map data from a
number of websites, including openstreetmap.org, openaerialmap.org and
others.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/03/04 20:51:23 jasper Exp $
@lib lib/libosmgpsmap.so.${LIBosmgpsmap_VERSION}

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/03/04 20:51:23 jasper Exp $
%%SHARED%%
@bin bin/openstreetmap-gps-map
include/osmgpsmap/
include/osmgpsmap/osm-gps-map.h
lib/libosmgpsmap.a
lib/libosmgpsmap.la
lib/pkgconfig/
lib/pkgconfig/osmgpsmap.pc