From owner-svn-ports-head@FreeBSD.ORG Fri May 24 15:43:19 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1A4637F4; Fri, 24 May 2013 15:43:19 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0ABDB9E1; Fri, 24 May 2013 15:43:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4OFhIKs075737; Fri, 24 May 2013 15:43:18 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4OFhHwf075731; Fri, 24 May 2013 15:43:17 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201305241543.r4OFhHwf075731@svn.freebsd.org> From: Dmitry Marakasov Date: Fri, 24 May 2013 15:43:17 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2013 15:43:19 -0000 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 +# $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 + +.if ${PORT_OPTIONS:MDOCS} +post-install: + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ +.endif + +.include 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