FreeBSD Bugzilla – Attachment 145321 Details for
Bug 191656
New port: devel/libftdi1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
libftdi1.shar.txt
libftdi1.shar.txt (text/plain), 6.74 KB, created by
Uffe Jakobsen
on 2014-08-03 21:19:32 UTC
(
hide
)
Description:
libftdi1.shar.txt
Filename:
MIME Type:
Creator:
Uffe Jakobsen
Created:
2014-08-03 21:19:32 UTC
Size:
6.74 KB
patch
obsolete
># 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: ># ># libftdi1 ># libftdi1/pkg-plist ># libftdi1/Makefile ># libftdi1/distinfo ># libftdi1/pkg-descr ># libftdi1/files ># libftdi1/files/patch-CMakeLists.txt ># libftdi1/files/patch-cmake_FindUSB1.cmake ># libftdi1/files/patch-examples_CMakeLists.txt ># >echo c - libftdi1 >mkdir -p libftdi1 > /dev/null 2>&1 >echo x - libftdi1/pkg-plist >sed 's/^X//' >libftdi1/pkg-plist << '52198f570718ace0f741da1cc977cb13' >Xbin/ftdi_eeprom >Xbin/libftdi1-config >Xbin/ftdi1_baud_test_example >Xbin/ftdi1_bitbang2_example >Xbin/ftdi1_bitbang_cbus_example >Xbin/ftdi1_bitbang_example >Xbin/ftdi1_bitbang_ft2232_example >Xbin/ftdi1_eeprom_example >Xbin/ftdi1_find_all_example >X%%BOOST%%bin/ftdi1_find_all_pp_example >Xbin/ftdi1_serial_test_example >Xbin/ftdi1_simple_example >Xbin/ftdi1_stream_test_example >Xlibdata/pkgconfig/libftdi1.pc >Xlibdata/pkgconfig/libftdipp1.pc >Xlib/cmake/libftdi1/LibFTDI1Config.cmake >Xlib/cmake/libftdi1/UseLibFTDI1.cmake >X@dirrmtry lib/cmake/libftdi1 >X@dirrmtry lib/cmake >Xinclude/libftdi1/ftdi.h >X%%BOOST%%include/libftdi1/ftdi.hpp >X@dirrmtry include/libftdi1 >Xlib/libftdi1.a >Xlib/libftdi1.so >Xlib/libftdi1.so.2 >Xlib/libftdi1.so.2.1.0 >X%%BOOST%%lib/libftdipp1.a >X%%BOOST%%lib/libftdipp1.so >X%%BOOST%%lib/libftdipp1.so.2 >X%%BOOST%%lib/libftdipp1.so.2.1.0 >X%%PYTHON%%%%PYTHON_SITELIBDIR%%/_ftdi1.so >X%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi1.py >X%%PYTHON%%share/libftdi/examples/complete.py >X%%PYTHON%%share/libftdi/examples/simple.py >X@dirrmtry share/libftdi/examples >X@dirrmtry share/libftdi >52198f570718ace0f741da1cc977cb13 >echo x - libftdi1/Makefile >sed 's/^X//' >libftdi1/Makefile << '61f9bf5fa2690619dbc990a10698d0ca' >X# Created by: Uffe Jakobsen <uffe@uffe.org> >X# $FreeBSD$ >X >XPORTNAME= libftdi1 >XPORTVERSION= 1.1 >XCATEGORIES= devel >XMASTER_SITES= http://www.intra2net.com/en/developer/libftdi/download/ >X >XMAINTAINER= uffe@uffe.org >XCOMMENT= Library (using libusb) to talk to FTDI chips >X >XLICENSE= GPLv2 >X >XLIB_DEPENDS= libconfuse.so:${PORTSDIR}/devel/libconfuse >X >XOPTIONS_DEFINE= PYTHON BOOST DOCS EXAMPLES >XOPTIONS_DEFAULT= PYTHON BOOST DOCS EXAMPLES >XOPTIONS_SUB= yes >X >XBOOST_DESC= Build with boost >XPYTHON_DESC= Build Python bindings >X >X#CFLAGS+= -I${WRKSRC}/src >X#CFLAGS+= -I${LOCALBASE}/include >X#CXXFLAGS+= -I${LOCALBASE}/include >X >XUSES= pathfix pkgconfig cmake tar:bzip2 >XUSE_LDCONFIG= yes >X >XPORTDOCS= COPYING.LIB ChangeLog README >X >X.include <bsd.port.options.mk> >X >X.if ${PORT_OPTIONS:MDOCS} >XCMAKE_ARGS+= -DDOCUMENTATION:BOOL=true >X.else >XCMAKE_ARGS+= -DDOCUMENTATION:BOOL=false >X.endif >X >X.if ${PORT_OPTIONS:MEXAMPLES} >XCMAKE_ARGS+= -DEXAMPLES:BOOL=true >X.else >XCMAKE_ARGS+= -DEXAMPLES:BOOL=false >X.endif >X >X.if ${PORT_OPTIONS:MPYTHON} >XUSE_PYTHON= 2 >XCMAKE_ARGS+= -DPYTHON_BINDINGS:BOOL=true >XBUILD_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20 >X.else >XCMAKE_ARGS+= -DPYTHON_BINDINGS:BOOL=false >X.endif >X >X.if ${PORT_OPTIONS:MBOOST} >XCMAKE_ARGS+= -DFTDIPP:BOOL=true >XLIB_DEPENDS+= libboost_system.so:${PORTSDIR}/devel/boost-libs >X.else >XCMAKE_ARGS+= -DFTDIPP:BOOL=false >X.endif >X >Xpost-install: >X.if ${PORT_OPTIONS:MEXAMPLES} >X.for fname in baud_test bitbang bitbang2 bitbang_cbus bitbang_ft2232 eeprom find_all serial_test simple stream_test >X ${INSTALL_PROGRAM} ${WRKSRC}/examples/${fname} ${STAGEDIR}${PREFIX}/bin/ftdi1_${fname}_example >X.endfor >X.if ${PORT_OPTIONS:MBOOST} >X.for fname in find_all_pp >X ${INSTALL_PROGRAM} ${WRKSRC}/examples/${fname} ${STAGEDIR}${PREFIX}/bin/ftdi1_${fname}_example >X.endfor >X.endif >X.endif >X.if ${PORT_OPTIONS:MDOCS} >X ${MKDIR} ${STAGEDIR}${DOCSDIR} >X ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ >X.endif >X >X.include <bsd.port.mk> >61f9bf5fa2690619dbc990a10698d0ca >echo x - libftdi1/distinfo >sed 's/^X//' >libftdi1/distinfo << 'bebff8ed956857d74adc0b189af3ad8b' >XSHA256 (libftdi1-1.1.tar.bz2) = c0b1af1a13e2c6682a1d8041e5b164a1e0d90267cd378bb51e059bd62f821e21 >XSIZE (libftdi1-1.1.tar.bz2) = 99690 >bebff8ed956857d74adc0b189af3ad8b >echo x - libftdi1/pkg-descr >sed 's/^X//' >libftdi1/pkg-descr << '27a041af7678bbade89d8a873071c15a' >Xlibftdi1 - 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/en/developer/libftdi/ >27a041af7678bbade89d8a873071c15a >echo c - libftdi1/files >mkdir -p libftdi1/files > /dev/null 2>&1 >echo x - libftdi1/files/patch-CMakeLists.txt >sed 's/^X//' >libftdi1/files/patch-CMakeLists.txt << 'c75c0619293c1cdf7ba46871e68044fc' >X--- CMakeLists.txt.orig 2014-08-02 12:32:47.000000000 +0200 >X+++ CMakeLists.txt 2014-08-02 12:34:30.000000000 +0200 >X@@ -168,7 +168,7 @@ >X configure_file(${CMAKE_SOURCE_DIR}/libftdi1.pc.in ${CMAKE_BINARY_DIR}/libftdi1.pc @ONLY) >X configure_file(${CMAKE_SOURCE_DIR}/libftdipp1.pc.in ${CMAKE_BINARY_DIR}/libftdipp1.pc @ONLY) >X install(FILES ${CMAKE_BINARY_DIR}/libftdi1.pc ${CMAKE_BINARY_DIR}/libftdipp1.pc >X- DESTINATION lib${LIB_SUFFIX}/pkgconfig) >X+ DESTINATION libdata${LIB_SUFFIX}/pkgconfig) >X >X if (UNIX OR MINGW) >X configure_file ( libftdi1-config.in ${CMAKE_CURRENT_BINARY_DIR}/libftdi1-config @ONLY ) >c75c0619293c1cdf7ba46871e68044fc >echo x - libftdi1/files/patch-cmake_FindUSB1.cmake >sed 's/^X//' >libftdi1/files/patch-cmake_FindUSB1.cmake << 'a38a57e14186656cf978ccb3d361b1eb' >X--- cmake/FindUSB1.cmake.orig 2014-08-02 12:05:59.000000000 +0200 >X+++ cmake/FindUSB1.cmake 2014-08-02 12:06:34.000000000 +0200 >X@@ -26,7 +26,7 @@ >X PATH_SUFFIXES libusb-1.0 >X PATHS ${PC_LIBUSB_INCLUDEDIR} ${PC_LIBUSB_INCLUDE_DIRS}) >X >X- FIND_LIBRARY(LIBUSB_LIBRARIES NAMES usb-1.0 >X+ FIND_LIBRARY(LIBUSB_LIBRARIES NAMES usb-1.0 usb >X PATHS ${PC_LIBUSB_LIBDIR} ${PC_LIBUSB_LIBRARY_DIRS}) >X >X include(FindPackageHandleStandardArgs) >a38a57e14186656cf978ccb3d361b1eb >echo x - libftdi1/files/patch-examples_CMakeLists.txt >sed 's/^X//' >libftdi1/files/patch-examples_CMakeLists.txt << 'd6b51b3b50de7df72e599da48bc54e33' >X--- examples/CMakeLists.txt.orig 2014-08-03 23:07:13.000000000 +0200 >X+++ examples/CMakeLists.txt 2014-08-03 23:08:06.000000000 +0200 >X@@ -36,8 +36,8 @@ >X if(FTDI_BUILD_CPP) >X if(Boost_FOUND) >X message(STATUS "Building libftdi++ examples.") >X- include_directories(BEFORE ${CMAKE_SOURCE_DIR}/ftdipp >X- ${Boost_INCLUDE_DIRS}) >X+ include_directories(BEFORE ${CMAKE_SOURCE_DIR}/ftdipp) >X+ include_directories(AFTER ${Boost_INCLUDE_DIRS}) >X >X # Target >X add_executable(find_all_pp find_all_pp.cpp) >d6b51b3b50de7df72e599da48bc54e33 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 191656
:
144451
|
145270
|
145271
| 145321 |
145322