Date: Fri, 24 May 2013 15:43:17 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318981 - in head/astro: . libosmpbf libosmpbf/files Message-ID: <201305241543.r4OFhHwf075731@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri May 24 15:43:16 2013 New Revision: 318981 URL: http://svnweb.freebsd.org/changeset/ports/318981 Log: Library for handling binary OpenStreetMap data WWW: https://github.com/scrosby/OSM-binary Added: head/astro/libosmpbf/ head/astro/libosmpbf/Makefile (contents, props changed) head/astro/libosmpbf/distinfo (contents, props changed) head/astro/libosmpbf/files/ head/astro/libosmpbf/files/patch-src-Makefile (contents, props changed) head/astro/libosmpbf/pkg-descr (contents, props changed) head/astro/libosmpbf/pkg-plist (contents, props changed) Modified: head/astro/Makefile Modified: head/astro/Makefile ============================================================================== --- head/astro/Makefile Fri May 24 15:07:44 2013 (r318980) +++ head/astro/Makefile Fri May 24 15:43:16 2013 (r318981) @@ -37,6 +37,7 @@ SUBDIR += libgal SUBDIR += libkgeomap SUBDIR += libnova + SUBDIR += libosmpbf SUBDIR += libroadnav SUBDIR += luna SUBDIR += marble Added: head/astro/libosmpbf/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/libosmpbf/Makefile Fri May 24 15:43:16 2013 (r318981) @@ -0,0 +1,38 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= libosmpbf +PORTVERSION= 1.3.0 +CATEGORIES= astro devel + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Library for handling binary OpenStreetMap data + +LICENSE= GPLv3 + +LIB_DEPENDS= protobuf:${PORTSDIR}/devel/protobuf + +USE_GITHUB= yes +GH_ACCOUNT= scrosby +GH_PROJECT= OSM-binary +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= d9be2d1 + +USE_GMAKE= yes +MAKE_JOBS_SAFE= yes +BUILD_WRKSRC= ${WRKSRC}/src +INSTALL_WRKSRC= ${WRKSRC}/src + +CXXFLAGS+= -I${LOCALBASE}/include + +PORTDOCS= * + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} +post-install: + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> Added: head/astro/libosmpbf/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/libosmpbf/distinfo Fri May 24 15:43:16 2013 (r318981) @@ -0,0 +1,2 @@ +SHA256 (libosmpbf-1.3.0.tar.gz) = 25226cba789292fe2c78c29321afd81d1d083b6f990f6bc4d02b41ff8b1e638f +SIZE (libosmpbf-1.3.0.tar.gz) = 23774 Added: head/astro/libosmpbf/files/patch-src-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/libosmpbf/files/patch-src-Makefile Fri May 24 15:43:16 2013 (r318981) @@ -0,0 +1,30 @@ +--- src/Makefile.orig 2012-12-05 08:14:05.000000000 +0400 ++++ src/Makefile 2013-05-23 03:08:09.903921308 +0400 +@@ -1,6 +1,6 @@ + +-CXX = g++ +-CXXFLAGS = -O3 ++CXX ?= g++ ++CXXFLAGS ?= -O3 + AR = ar + + all: libosmpbf.a ../include/osmpbf/fileformat.pb.h ../include/osmpbf/osmformat.pb.h +@@ -16,12 +16,12 @@ + cp *.pb.h ../include/osmpbf/ + + install: +- install -m 755 -g root -o root -d $(DESTDIR)/usr/lib +- install -m 644 -g root -o root libosmpbf.a $(DESTDIR)/usr/lib +- install -m 755 -g root -o root -d $(DESTDIR)/usr/include/osmpbf +- install -m 644 -g root -o root ../include/osmpbf/osmpbf.h $(DESTDIR)/usr/include/osmpbf +- install -m 644 -g root -o root ../include/osmpbf/fileformat.pb.h $(DESTDIR)/usr/include/osmpbf +- install -m 644 -g root -o root ../include/osmpbf/osmformat.pb.h $(DESTDIR)/usr/include/osmpbf ++ install -m 755 -d $(PREFIX)/lib ++ install -m 644 libosmpbf.a $(PREFIX)/lib ++ install -m 755 -d $(PREFIX)/include/osmpbf ++ install -m 644 ../include/osmpbf/osmpbf.h $(PREFIX)/include/osmpbf ++ install -m 644 ../include/osmpbf/fileformat.pb.h $(PREFIX)/include/osmpbf ++ install -m 644 ../include/osmpbf/osmformat.pb.h $(PREFIX)/include/osmpbf + + clean: + rm -f *.pb.h *.pb.cc *.pb.o libosmpbf.a Added: head/astro/libosmpbf/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/libosmpbf/pkg-descr Fri May 24 15:43:16 2013 (r318981) @@ -0,0 +1,3 @@ +Library for handling binary OpenStreetMap data + +WWW: https://github.com/scrosby/OSM-binary Added: head/astro/libosmpbf/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/libosmpbf/pkg-plist Fri May 24 15:43:16 2013 (r318981) @@ -0,0 +1,5 @@ +include/osmpbf/fileformat.pb.h +include/osmpbf/osmformat.pb.h +include/osmpbf/osmpbf.h +lib/libosmpbf.a +@dirrm include/osmpbf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305241543.r4OFhHwf075731>