Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2006 14:12:13 +0000 (GMT)
From:      Olexandr Davydenko <o.davydenko@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100982: New port: devel/libftdi A library to talk with FTDI chips
Message-ID:  <E1G6T4W-000Inq-NT@gw0.visti.net>
Resent-Message-ID: <200607281420.k6SEKCkS071635@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100982
>Category:       ports
>Synopsis:       New port: devel/libftdi A library to talk with FTDI chips
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 28 14:20:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Olexandr Davydenko
>Release:        FreeBSD 6.1-RC1 i386
>Organization:
>Environment:
System: FreeBSD and.visti.net 6.1-RC1 FreeBSD 6.1-RC1 #0: Mon Apr 10 16:52:30 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


>Description:
libftdi - A library (using libusb) to talk to FTDI's FT2232C,
FT232BM and FT245BM type chips including the popular bitbang mode.


>How-To-Repeat:
>Fix:


--- libftdi begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libftdi
#	libftdi/Makefile
#	libftdi/pkg-descr
#	libftdi/distinfo
#
echo c - libftdi
mkdir -p libftdi > /dev/null 2>&1
echo x - libftdi/Makefile
sed 's/^X//' >libftdi/Makefile << 'END-of-libftdi/Makefile'
X# New ports collection makefile for:	libftdi
X# Date created:				27 July 2006
X# Whom:						Olexandr Davydenko <o.davydenko@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		libftdi
XPORTVERSION=	0.7
XCATEGORIES=		devel
XMASTER_SITES=	http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/
X
XMAINTAINER=		o.davydenko@gmail.com
XCOMMENT=		A library (using libusb) to talk to FTDI chips
X
XLIB_DEPENDS=	usb-0.1:${PORTSDIR}/devel/libusb
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XMAKE_ARGS=		pkgconfigdir="${PREFIX}/libdata/pkgconfig"
XINSTALLS_SHLIB=	yes
X
XPORTDOCS=		COPYING.LIB ChangeLog README
XPLIST_FILES=	bin/libftdi-config \
X				include/ftdi.h \
X				lib/libftdi.a \
X				lib/libftdi.la \
X				lib/libftdi.so \
X				lib/libftdi.so.7 \
X				libdata/pkgconfig/libftdi.pc
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for FILE in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-libftdi/Makefile
echo x - libftdi/pkg-descr
sed 's/^X//' >libftdi/pkg-descr << 'END-of-libftdi/pkg-descr'
Xlibftdi - A library (using libusb) to talk to FTDI's FT2232C,
XFT232BM and FT245BM type chips including the popular bitbang mode.
X
XNote: When you get a -5 error "can't claim usb device" during
Xftdi_usb_open(), make sure the kernel ftdi_sio driver is unloaded.
X
XWWW: http://www.intra2net.com/de/produkte/opensource/ftdi/
END-of-libftdi/pkg-descr
echo x - libftdi/distinfo
sed 's/^X//' >libftdi/distinfo << 'END-of-libftdi/distinfo'
XMD5 (libftdi-0.7.tar.gz) = c9ba4ea7544799e81cbd881f90ee3574
XSHA256 (libftdi-0.7.tar.gz) = 1d1b93227135d50230e6b0ba4eab91df45d293352b4cba83443787eba4398229
XSIZE (libftdi-0.7.tar.gz) = 171953
END-of-libftdi/distinfo
exit
--- libftdi ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1G6T4W-000Inq-NT>