Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2016 13:21:30 +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: r405627 - in head/astro/libosmpbf: . files
Message-ID:  <201601091321.u09DLUPb080491@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Jan  9 13:21:30 2016
New Revision: 405627
URL: https://svnweb.freebsd.org/changeset/ports/405627

Log:
  - Update to 1.3.3

Added:
  head/astro/libosmpbf/files/patch-src_CMakeLists.txt   (contents, props changed)
  head/astro/libosmpbf/files/patch-tools_CMakeLists.txt   (contents, props changed)
  head/astro/libosmpbf/files/patch-tools_osmpbf-outline.cpp   (contents, props changed)
Deleted:
  head/astro/libosmpbf/files/patch-src-Makefile
Modified:
  head/astro/libosmpbf/Makefile
  head/astro/libosmpbf/distinfo
  head/astro/libosmpbf/pkg-plist

Modified: head/astro/libosmpbf/Makefile
==============================================================================
--- head/astro/libosmpbf/Makefile	Sat Jan  9 13:02:02 2016	(r405626)
+++ head/astro/libosmpbf/Makefile	Sat Jan  9 13:21:30 2016	(r405627)
@@ -2,15 +2,14 @@
 # $FreeBSD$
 
 PORTNAME=	libosmpbf
-PORTVERSION=	1.3.0
+PORTVERSION=	1.3.3
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
 CATEGORIES=	astro geography devel
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Library for handling binary OpenStreetMap data
 
-LICENSE=	GPLv3
+LICENSE=	LGPL3 # or later
 LICENSE_FILE=	${WRKSRC}/COPYING.osmpbf
 
 LIB_DEPENDS=	libprotobuf.so:${PORTSDIR}/devel/protobuf
@@ -19,18 +18,6 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	scrosby
 GH_PROJECT=	OSM-binary
 
-USES=		gmake
-BUILD_WRKSRC=	${WRKSRC}/src
-INSTALL_WRKSRC=	${WRKSRC}/src
-
-CXXFLAGS+=	-I${LOCALBASE}/include
-
-PORTDOCS=	*
-
-OPTIONS_DEFINE=	DOCS
-
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
+USES=		cmake
 
 .include <bsd.port.mk>

Modified: head/astro/libosmpbf/distinfo
==============================================================================
--- head/astro/libosmpbf/distinfo	Sat Jan  9 13:02:02 2016	(r405626)
+++ head/astro/libosmpbf/distinfo	Sat Jan  9 13:21:30 2016	(r405627)
@@ -1,2 +1,2 @@
-SHA256 (scrosby-OSM-binary-v1.3.0_GH0.tar.gz) = c4bb6de92ae52481775ba2a6e8b751eb39dade17a1ee6669d79b694cd5266ff8
-SIZE (scrosby-OSM-binary-v1.3.0_GH0.tar.gz) = 23768
+SHA256 (scrosby-OSM-binary-v1.3.3_GH0.tar.gz) = a109f338ce6a8438a8faae4627cd08599d0403b8977c185499de5c17b92d0798
+SIZE (scrosby-OSM-binary-v1.3.3_GH0.tar.gz) = 37273

Added: head/astro/libosmpbf/files/patch-src_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/libosmpbf/files/patch-src_CMakeLists.txt	Sat Jan  9 13:21:30 2016	(r405627)
@@ -0,0 +1,10 @@
+--- src/CMakeLists.txt.orig	2014-03-15 15:11:32 UTC
++++ src/CMakeLists.txt
+@@ -3,7 +3,6 @@ PROTOBUF_GENERATE_CPP(CPPS HS fileformat
+ if(MSVC)
+     set(CMAKE_CXX_FLAGS "/O3")
+ else()
+-    set(CMAKE_CXX_FLAGS "-O3")
+ endif()
+ 
+ add_library(osmpbf STATIC ${CPPS})

Added: head/astro/libosmpbf/files/patch-tools_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/libosmpbf/files/patch-tools_CMakeLists.txt	Sat Jan  9 13:21:30 2016	(r405627)
@@ -0,0 +1,10 @@
+--- tools/CMakeLists.txt.orig	2014-03-15 15:11:32 UTC
++++ tools/CMakeLists.txt
+@@ -4,7 +4,6 @@ PROJECT(${PROJECT})
+ if(MSVC)
+     set(CMAKE_CXX_FLAGS "/O3")
+ else()
+-    set(CMAKE_CXX_FLAGS "-O3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64")
+ endif()
+ 
+ SET(CPP_SRC osmpbf-outline.cpp)

Added: head/astro/libosmpbf/files/patch-tools_osmpbf-outline.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/libosmpbf/files/patch-tools_osmpbf-outline.cpp	Sat Jan  9 13:21:30 2016	(r405627)
@@ -0,0 +1,9 @@
+--- tools/osmpbf-outline.cpp.orig	2014-03-15 15:11:32 UTC
++++ tools/osmpbf-outline.cpp
+@@ -1,3 +1,6 @@
++// for isatty()
++#include <unistd.h>
++
+ // used for va_list in debug-print methods
+ #include <stdarg.h>
+ 

Modified: head/astro/libosmpbf/pkg-plist
==============================================================================
--- head/astro/libosmpbf/pkg-plist	Sat Jan  9 13:02:02 2016	(r405626)
+++ head/astro/libosmpbf/pkg-plist	Sat Jan  9 13:21:30 2016	(r405627)
@@ -1,3 +1,4 @@
+bin/osmpbf-outline
 include/osmpbf/fileformat.pb.h
 include/osmpbf/osmformat.pb.h
 include/osmpbf/osmpbf.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601091321.u09DLUPb080491>