Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2018 13:34:49 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463308 - in head/devel/msgpuck: . files
Message-ID:  <201803011334.w21DYn7f070187@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Mar  1 13:34:49 2018
New Revision: 463308
URL: https://svnweb.freebsd.org/changeset/ports/463308

Log:
  Update to 2.0
  
  - Update COMMENT
  - Add LICENSE_FILE
  - Update pkg-descr
  - Take maintainership
  
  Changes:	https://github.com/tarantool/msgpuck/commits/master

Added:
  head/devel/msgpuck/files/
  head/devel/msgpuck/files/patch-CMakeLists.txt   (contents, props changed)
  head/devel/msgpuck/files/patch-test-CMakeLists.txt   (contents, props changed)
Modified:
  head/devel/msgpuck/Makefile
  head/devel/msgpuck/distinfo
  head/devel/msgpuck/pkg-descr
  head/devel/msgpuck/pkg-plist

Modified: head/devel/msgpuck/Makefile
==============================================================================
--- head/devel/msgpuck/Makefile	Thu Mar  1 13:26:25 2018	(r463307)
+++ head/devel/msgpuck/Makefile	Thu Mar  1 13:34:49 2018	(r463308)
@@ -1,18 +1,19 @@
 # $FreeBSD$
 
 PORTNAME=	msgpuck
-PORTVERSION=	1.0.0
-PORTREVISION=	1
+PORTVERSION=	2.0
 CATEGORIES=	devel
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	MsgPack binary serialization library in a self-contained header
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Lightweight MessagePack library
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
+USES=		cmake
+USE_LDCONFIG=	yes
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	tarantool
-
-USES=		cmake
 
 .include <bsd.port.mk>

Modified: head/devel/msgpuck/distinfo
==============================================================================
--- head/devel/msgpuck/distinfo	Thu Mar  1 13:26:25 2018	(r463307)
+++ head/devel/msgpuck/distinfo	Thu Mar  1 13:34:49 2018	(r463308)
@@ -1,2 +1,3 @@
-SHA256 (tarantool-msgpuck-1.0.0_GH0.tar.gz) = f49f58ea6729d52431b1f03ac715374c962cdc9f158f2a953019cce9184fb33e
-SIZE (tarantool-msgpuck-1.0.0_GH0.tar.gz) = 43196
+TIMESTAMP = 1519663819
+SHA256 (tarantool-msgpuck-2.0_GH0.tar.gz) = 01e6aa55d4d52a5b19f7ce9a9845506d9ab3f5abcf844a75e880b8378150a63d
+SIZE (tarantool-msgpuck-2.0_GH0.tar.gz) = 51548

Added: head/devel/msgpuck/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/msgpuck/files/patch-CMakeLists.txt	Thu Mar  1 13:34:49 2018	(r463308)
@@ -0,0 +1,31 @@
+--- CMakeLists.txt.orig	2017-02-07 12:14:17 UTC
++++ CMakeLists.txt
+@@ -12,9 +12,12 @@ endif()
+ include(CheckCCompilerFlag)
+ check_c_compiler_flag("-mno-unaligned-access" CC_HAS_MNO_UNALIGNED_ACCESS)
+ 
+-add_library(msgpuck STATIC msgpuck.c hints.c)
+-set_target_properties(msgpuck PROPERTIES VERSION 1.0 SOVERSION 1)
+-set_target_properties(msgpuck PROPERTIES OUTPUT_NAME "msgpuck")
++add_library(msgpuck_shared SHARED msgpuck.c hints.c)
++set_target_properties(msgpuck_shared PROPERTIES VERSION 1.0 SOVERSION 1)
++set_target_properties(msgpuck_shared PROPERTIES OUTPUT_NAME "msgpuck")
++add_library(msgpuck_static STATIC msgpuck.c hints.c)
++set_target_properties(msgpuck_static PROPERTIES VERSION 1.0 SOVERSION 1)
++set_target_properties(msgpuck_static PROPERTIES OUTPUT_NAME "msgpuck")
+ 
+ if (NOT ${PROJECT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
+     # Embedded mode, skip tests, documentation and the install targets
+@@ -32,7 +35,11 @@ endif()
+ add_subdirectory(test)
+ 
+ include(GNUInstallDirs)
+-install(TARGETS msgpuck
++install(TARGETS msgpuck_shared
++    ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++    COMPONENT library)
++install(TARGETS msgpuck_static
+     ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+     LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+     COMPONENT library)

Added: head/devel/msgpuck/files/patch-test-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/msgpuck/files/patch-test-CMakeLists.txt	Thu Mar  1 13:34:49 2018	(r463308)
@@ -0,0 +1,11 @@
+--- test/CMakeLists.txt.orig	2017-02-07 12:14:17 UTC
++++ test/CMakeLists.txt
+@@ -14,7 +14,7 @@ endif()
+ set(alltests)
+ foreach (test msgpuck)
+     add_executable(${test}.test ${test}.c test.c)
+-    target_link_libraries(${test}.test msgpuck)
++    target_link_libraries(${test}.test msgpuck_shared)
+ 
+     list(APPEND alltests ${test}.test_run)
+     add_custom_target(${test}.test_run

Modified: head/devel/msgpuck/pkg-descr
==============================================================================
--- head/devel/msgpuck/pkg-descr	Thu Mar  1 13:26:25 2018	(r463307)
+++ head/devel/msgpuck/pkg-descr	Thu Mar  1 13:34:49 2018	(r463308)
@@ -1,11 +1,7 @@
-MsgPuck is a simple and efficient MsgPack binary serialization library in
-a self-contained header file.
-
-* Can be easily incorporated into your project
-* Is very easy to use (see examples below)
-* Is fully tested and documented
-* Has clean and readable C source code
-* Is published under the very liberal license (BSD-2)
-
+MsgPuck is a compact and efficient MessagePack serialization library:
+- Zero-cost abstractions and zero overhead
+- Clean and readable C code ready to use
+- Easy to incorporate into your project
+- Fully documented and covered by unit tests
 
 WWW: https://github.com/tarantool/msgpuck

Modified: head/devel/msgpuck/pkg-plist
==============================================================================
--- head/devel/msgpuck/pkg-plist	Thu Mar  1 13:26:25 2018	(r463307)
+++ head/devel/msgpuck/pkg-plist	Thu Mar  1 13:34:49 2018	(r463308)
@@ -1,4 +1,4 @@
-include/msgpuck/msgpuck.h
+include/msgpuck.h
 lib/libmsgpuck.a
 lib/libmsgpuck.so
 lib/libmsgpuck.so.1



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