Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 14:29:11 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311068 - in head/devel: . avro-c avro-c/files
Message-ID:  <201301271429.r0RETBMg065609@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sun Jan 27 14:29:10 2013
New Revision: 311068
URL: http://svnweb.freebsd.org/changeset/ports/311068

Log:
  Add avro-c 1.7.3, data serialization system for ANSI C.
  
  PR:		ports/175562
  Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>

Added:
  head/devel/avro-c/
  head/devel/avro-c/Makefile   (contents, props changed)
  head/devel/avro-c/distinfo   (contents, props changed)
  head/devel/avro-c/files/
  head/devel/avro-c/files/patch-src_CMakeLists.txt   (contents, props changed)
  head/devel/avro-c/pkg-descr   (contents, props changed)
  head/devel/avro-c/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Jan 27 13:17:33 2013	(r311067)
+++ head/devel/Makefile	Sun Jan 27 14:29:10 2013	(r311068)
@@ -104,6 +104,7 @@
     SUBDIR += avr-libc
     SUBDIR += avra
     SUBDIR += avrdude
+    SUBDIR += avro-c
     SUBDIR += baz
     SUBDIR += bcc
     SUBDIR += bcpp

Added: head/devel/avro-c/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/avro-c/Makefile	Sun Jan 27 14:29:10 2013	(r311068)
@@ -0,0 +1,26 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME=	avro
+PORTVERSION=	1.7.3
+CATEGORIES=	devel
+MASTER_SITES=	APACHE
+MASTER_SITE_SUBDIR=	${PORTNAME}/stable
+PKGNAMESUFFIX=	-c
+DISTNAME=	${PORTNAME}-src-${PORTVERSION}
+
+MAINTAINER=	g.veniamin@googlemail.com
+COMMENT=	Data serialization system for ANSI C
+
+USE_CMAKE=	yes
+USE_LDCONFIG=	yes
+USE_PKGCONFIG=	yes
+
+WRKSRC=		${WRKDIR}/${DISTNAME}/lang/c
+
+.include <bsd.port.pre.mk>
+pre-configure:
+	@${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \
+		${WRKSRC}/version.sh
+
+.include <bsd.port.post.mk>

Added: head/devel/avro-c/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/avro-c/distinfo	Sun Jan 27 14:29:10 2013	(r311068)
@@ -0,0 +1,2 @@
+SHA256 (avro-src-1.7.3.tar.gz) = edf23ba0626cf648008357c7f9fb2d1e0b0eaeacce76ecd001eaa198484e9833
+SIZE (avro-src-1.7.3.tar.gz) = 1924413

Added: head/devel/avro-c/files/patch-src_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/avro-c/files/patch-src_CMakeLists.txt	Sun Jan 27 14:29:10 2013	(r311068)
@@ -0,0 +1,20 @@
+--- src/CMakeLists.txt.orig	2013-01-23 23:35:50.300900781 +0400
++++ src/CMakeLists.txt	2013-01-23 23:37:52.345522653 +0400
+@@ -99,7 +99,7 @@
+ # The version.sh script gives us a SOVERSION that uses colon as a
+ # separator; we need periods.
+ 
+-string(REPLACE ":" "." LIBAVRO_DOT_VERSION ${LIBAVRO_VERSION})
++set(LIBAVRO_DOT_VERSION 0)
+ 
+ add_library(avro-static STATIC ${AVRO_SRC} ${JANSSON_SRC})
+ target_link_libraries(avro-static ${CODEC_LIBRARIES} ${THREADS_LIBRARIES})
+@@ -142,7 +142,7 @@
+ set(VERSION ${AVRO_VERSION})
+ configure_file(avro-c.pc.in avro-c.pc)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/avro-c.pc
+-        DESTINATION lib/pkgconfig)
++        DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
+ 
+ add_executable(avrocat avrocat.c)
+ target_link_libraries(avrocat avro-static)

Added: head/devel/avro-c/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/avro-c/pkg-descr	Sun Jan 27 14:29:10 2013	(r311068)
@@ -0,0 +1,13 @@
+Avro is a data serialization system.
+
+Avro provides:
+* Rich data structures.
+* A compact, fast, binary data format.
+* A container file, to store persistent data.
+* Remote procedure call (RPC).
+* Simple integration with dynamic languages. Code generation is not
+required to read or write data files nor to use or implement RPC
+protocols. Code generation as an optional optimization, only worth
+implementing for statically typed languages.
+
+WWW: http://avro.apache.org/

Added: head/devel/avro-c/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/avro-c/pkg-plist	Sun Jan 27 14:29:10 2013	(r311068)
@@ -0,0 +1,25 @@
+bin/avroappend
+bin/avrocat
+bin/avromod
+bin/avropipe
+include/avro.h
+include/avro/allocation.h
+include/avro/basics.h
+include/avro/consumer.h
+include/avro/data.h
+include/avro/errors.h
+include/avro/generic.h
+include/avro/io.h
+include/avro/legacy.h
+include/avro/msinttypes.h
+include/avro/msstdint.h
+include/avro/platform.h
+include/avro/refcount.h
+include/avro/resolver.h
+include/avro/schema.h
+include/avro/value.h
+lib/libavro.a
+lib/libavro.so
+lib/libavro.so.0
+libdata/pkgconfig/avro-c.pc
+@dirrm include/avro



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