Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2013 09:41:25 +0000 (UTC)
From:      Stefan Walter <stefan@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317406 - in head/devel/libftdi: . files
Message-ID:  <201305050941.r459fPCq013278@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stefan
Date: Sun May  5 09:41:24 2013
New Revision: 317406
URL: http://svnweb.freebsd.org/changeset/ports/317406

Log:
  - Update to 0.20.
  - Add option for Python bindings.
  
  PR:		170537 [1]
  		170241 [2]
  Submitted by:	Michael Zoon <zoon01@nas4free.org> [1]
  		Craig Leres <leres@ee.lbl.gov> [2]
  Approved by:	maintainer timeout (~9 months)

Deleted:
  head/devel/libftdi/files/patch-examples_serial_read.c
Modified:
  head/devel/libftdi/Makefile
  head/devel/libftdi/distinfo   (contents, props changed)
  head/devel/libftdi/pkg-plist   (contents, props changed)

Modified: head/devel/libftdi/Makefile
==============================================================================
--- head/devel/libftdi/Makefile	Sun May  5 08:39:30 2013	(r317405)
+++ head/devel/libftdi/Makefile	Sun May  5 09:41:24 2013	(r317406)
@@ -2,15 +2,16 @@
 # $FreeBSD$
 
 PORTNAME=	libftdi
-PORTVERSION=	0.18
-PORTREVISION=	1
+PORTVERSION=	0.20
 CATEGORIES=	devel
 MASTER_SITES=	http://www.intra2net.com/en/developer/libftdi/download/
 
 MAINTAINER=	o.davydenko@gmail.com
-COMMENT=	Library (using libusb) to talk to FTDI chips
+COMMENT=	A library (using libusb) to talk to FTDI chips
 
-OPTIONS_DEFINE=	BOOST
+OPTIONS_DEFINE+=	BOOST PYTHON
+BOOST_DESC=		Build with boost
+PYTHON_DESC=		Python bindings
 
 USE_AUTOTOOLS=		autoconf libtool automake
 GNU_CONFIGURE=		yes
@@ -26,11 +27,18 @@ PORTDOCS=		COPYING.LIB ChangeLog README
 PLIST_SUB+=		BOOST=""
 CONFIGURE_ARGS+=	--with-boost
 CXXFLAGS+=		"-I${LOCALBASE}/include"
-LIB_DEPENDS+=		boost_system:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS+=		boost_system.4:${PORTSDIR}/devel/boost-libs
 .else
 PLIST_SUB+=		BOOST="@comment "
 CONFIGURE_ARGS+=	--without-boost
 .endif
+.if ${PORT_OPTIONS:MPYTHON}
+PLIST_SUB+=		PYTHON=""
+CONFIGURE_ARGS+=	--enable-python-binding
+USE_PYTHON=		yes
+.else
+PLIST_SUB+=		PYTHON="@comment "
+.endif
 
 EXTRA_PATCHES=	${FILESDIR}/extra-patch-configure.in
 

Modified: head/devel/libftdi/distinfo
==============================================================================
--- head/devel/libftdi/distinfo	Sun May  5 08:39:30 2013	(r317405)
+++ head/devel/libftdi/distinfo	Sun May  5 09:41:24 2013	(r317406)
@@ -1,2 +1,2 @@
-SHA256 (libftdi-0.18.tar.gz) = 5b6f3c3ee51c6aa24d3b87135e01762cf68821d1c3599d87d349fea4ede74c62
-SIZE (libftdi-0.18.tar.gz) = 398380
+SHA256 (libftdi-0.20.tar.gz) = 3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e
+SIZE (libftdi-0.20.tar.gz) = 423570

Modified: head/devel/libftdi/pkg-plist
==============================================================================
--- head/devel/libftdi/pkg-plist	Sun May  5 08:39:30 2013	(r317405)
+++ head/devel/libftdi/pkg-plist	Sun May  5 09:41:24 2013	(r317406)
@@ -6,17 +6,17 @@ bin/bitbang_ft2232
 bin/find_all
 %%BOOST%%bin/find_all_pp
 bin/libftdi-config
-bin/serial_read
+bin/serial_test
 bin/simple
 include/ftdi.h
 %%BOOST%%include/ftdi.hpp
 lib/libftdi.a
 lib/libftdi.la
 lib/libftdi.so
-lib/libftdi.so.19
+lib/libftdi.so.21
 %%BOOST%%lib/libftdipp.a
 %%BOOST%%lib/libftdipp.la
 %%BOOST%%lib/libftdipp.so
-%%BOOST%%lib/libftdipp.so.19
+%%BOOST%%lib/libftdipp.so.21
 libdata/pkgconfig/libftdi.pc
 %%BOOST%%libdata/pkgconfig/libftdipp.pc



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