From owner-svn-ports-head@FreeBSD.ORG Mon May 13 21:23:52 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DF14FEFA; Mon, 13 May 2013 21:23:52 +0000 (UTC) (envelope-from bsam@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 CF119B0F; Mon, 13 May 2013 21:23:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4DLNqOe096680; Mon, 13 May 2013 21:23:52 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4DLNpC7096672; Mon, 13 May 2013 21:23:51 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201305132123.r4DLNpC7096672@svn.freebsd.org> From: Boris Samorodov Date: Mon, 13 May 2013 21:23:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318133 - in head/comms: . libmodbus libmodbus/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: Mon, 13 May 2013 21:23:52 -0000 Author: bsam Date: Mon May 13 21:23:51 2013 New Revision: 318133 URL: http://svnweb.freebsd.org/changeset/ports/318133 Log: Libmodbus is a C library designed to provide a fast and robust implementation of the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. WWW: http://libmodbus.org/ Added: head/comms/libmodbus/ head/comms/libmodbus/Makefile (contents, props changed) head/comms/libmodbus/distinfo (contents, props changed) head/comms/libmodbus/files/ head/comms/libmodbus/files/patch-Makefile.in (contents, props changed) head/comms/libmodbus/pkg-descr (contents, props changed) Modified: head/comms/Makefile Modified: head/comms/Makefile ============================================================================== --- head/comms/Makefile Mon May 13 21:12:52 2013 (r318132) +++ head/comms/Makefile Mon May 13 21:23:51 2013 (r318133) @@ -78,6 +78,7 @@ SUBDIR += libfec SUBDIR += libimobiledevice SUBDIR += libirman + SUBDIR += libmodbus SUBDIR += libticables SUBDIR += libticables2 SUBDIR += libticalcs2 Added: head/comms/libmodbus/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/libmodbus/Makefile Mon May 13 21:23:51 2013 (r318133) @@ -0,0 +1,46 @@ +# $FreeBSD$ + +PORTNAME= libmodbus +PORTVERSION= 3.1.0 +CATEGORIES= comms + +MAINTAINER= bsam@FreeBSD.org +COMMENT= Modbus library + +LICENSE= LGPL21 + +USE_GITHUB= yes +GH_ACCOUNT= stephane +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +GNU_CONFIGURE= yes +USE_LDCONFIG= yes + +PLIST_FILES= include/modbus/modbus-rtu.h include/modbus/modbus-tcp.h \ + include/modbus/modbus-version.h include/modbus/modbus.h \ + lib/libmodbus.la lib/libmodbus.so lib/libmodbus.so.6 \ + libdata/pkgconfig/libmodbus.pc +PLIST_DIRS= include/modbus +MAN3= modbus_close.3 modbus_connect.3 modbus_flush.3 modbus_free.3 \ + modbus_get_byte_from_bits.3 modbus_get_byte_timeout.3 \ + modbus_get_float.3 modbus_get_header_length.3 \ + modbus_get_response_timeout.3 modbus_get_socket.3 \ + modbus_mapping_free.3 modbus_mapping_new.3 modbus_new_rtu.3 \ + modbus_new_tcp.3 modbus_new_tcp_pi.3 modbus_read_bits.3 \ + modbus_read_input_bits.3 modbus_read_input_registers.3 \ + modbus_read_registers.3 modbus_receive.3 \ + modbus_receive_confirmation.3 modbus_receive_from.3 \ + modbus_reply.3 modbus_reply_exception.3 \ + modbus_report_slave_id.3 modbus_rtu_get_rts.3 \ + modbus_rtu_get_serial_mode.3 modbus_rtu_set_rts.3 \ + modbus_rtu_set_serial_mode.3 modbus_send_raw_request.3 \ + modbus_set_bits_from_byte.3 modbus_set_bits_from_bytes.3 \ + modbus_set_byte_timeout.3 modbus_set_debug.3 \ + modbus_set_error_recovery.3 modbus_set_float.3 \ + modbus_set_response_timeout.3 modbus_set_slave.3 \ + modbus_set_socket.3 modbus_strerror.3 modbus_tcp_listen.3 \ + modbus_write_and_read_registers.3 modbus_write_bit.3 \ + modbus_write_bits.3 modbus_write_register.3 \ + modbus_write_registers.3 +MAN7= libmodbus.7 + +.include Added: head/comms/libmodbus/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/libmodbus/distinfo Mon May 13 21:23:51 2013 (r318133) @@ -0,0 +1,2 @@ +SHA256 (libmodbus-3.1.0.tar.gz) = 0ee9b40245a2a810de44f345580b7bfc54d79d9b2be60424bab84d5431098e4f +SIZE (libmodbus-3.1.0.tar.gz) = 521675 Added: head/comms/libmodbus/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/libmodbus/files/patch-Makefile.in Mon May 13 21:23:51 2013 (r318133) @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2013-05-14 00:10:34.000000000 +0400 ++++ Makefile.in 2013-05-14 00:11:07.000000000 +0400 +@@ -272,7 +272,7 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + EXTRA_DIST = MIGRATION README.rst libmodbus.spec + SUBDIRS = src doc tests +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig + pkgconfig_DATA = libmodbus.pc + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive Added: head/comms/libmodbus/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/libmodbus/pkg-descr Mon May 13 21:23:51 2013 (r318133) @@ -0,0 +1,5 @@ +Libmodbus is a C library designed to provide a fast and robust +implementation of the Modbus protocol. It runs on Linux, Mac OS X, +FreeBSD, QNX and Windows. + +WWW: http://libmodbus.org/