svn commit: r318133 - in head/comms: . libmodbus libmodbus/files

Boris Samorodov bsam at FreeBSD.org
Mon May 13 21:23:52 UTC 2013


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 at 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 <bsd.port.mk>

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/


More information about the svn-ports-all mailing list