Index: head/devel/libftdi/Makefile =================================================================== --- head/devel/libftdi/Makefile (revision 364946) +++ head/devel/libftdi/Makefile (revision 364947) @@ -1,54 +1,55 @@ # $FreeBSD$ PORTNAME= libftdi PORTVERSION= 0.20 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= http://www.intra2net.com/en/developer/libftdi/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Library (using libusb) to talk to FTDI chips LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB USES= cmake pkgconfig CMAKE_ARGS= -DDOCUMENTATION:BOOL=OFF -DEXAMPLES:BOOL=OFF USE_LDCONFIG= yes OPTIONS_DEFINE= BOOST PYTHON OPTIONS_DEFAULT=BOOST PYTHON OPTIONS_SUB= yes BOOST_DESC= C++ bindings (requires Boost) BOOST_LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs BOOST_CMAKE_ON= -DFTDIPP:BOOL=ON BOOST_CMAKE_OFF= -DFTDIPP:BOOL=OFF BOOST_CXXFLAGS= -I${LOCALBASE}/include PYTHON_DESC= Python bindings PYTHON_BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20 PYTHON_CMAKE_ON= -DPYTHON_BINDINGS:BOOL=ON PYTHON_CMAKE_OFF= -DPYTHON_BINDINGS:BOOL=OFF PYTHON_USES= python .include post-patch: @${REINPLACE_CMD} \ + -e '/includedir/s|/$${PROJECT_NAME}||' \ -e '/SET.*LIB_SUFFIX/s/64/""/' \ -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} 's|SITEPACKAGE.*ABSOLUTE|SITEPACKAGE ${PYTHON_SITELIBDIR} ABSOLUTE|' \ ${WRKSRC}/bindings/CMakeLists.txt post-install: .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ftdi.so .endif .include Index: head/devel/libftdi/files/patch-examples_bitbang.c =================================================================== --- head/devel/libftdi/files/patch-examples_bitbang.c (revision 364946) +++ head/devel/libftdi/files/patch-examples_bitbang.c (nonexistent) @@ -1,10 +0,0 @@ ---- examples/bitbang.c.orig 2010-02-03 14:25:06.000000000 +0200 -+++ examples/bitbang.c 2010-02-03 14:25:13.000000000 +0200 -@@ -1,6 +1,7 @@ - /* This program is distributed under the GPL, version 2 */ - - #include -+#include - #include - #ifdef __WIN32__ - #define sleep(x) Sleep(x) Property changes on: head/devel/libftdi/files/patch-examples_bitbang.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/libftdi/files/patch-examples_baud_test.c =================================================================== --- head/devel/libftdi/files/patch-examples_baud_test.c (revision 364946) +++ head/devel/libftdi/files/patch-examples_baud_test.c (nonexistent) @@ -1,10 +0,0 @@ ---- examples/baud_test.c.orig 2010-02-03 14:19:36.000000000 +0200 -+++ examples/baud_test.c 2010-02-03 14:19:43.000000000 +0200 -@@ -31,6 +31,7 @@ - - #include - #include -+#include - #include - #include - Property changes on: head/devel/libftdi/files/patch-examples_baud_test.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/libftdi/files/patch-examples_bitbang2.c =================================================================== --- head/devel/libftdi/files/patch-examples_bitbang2.c (revision 364946) +++ head/devel/libftdi/files/patch-examples_bitbang2.c (nonexistent) @@ -1,10 +0,0 @@ ---- examples/bitbang2.c.orig 2010-02-03 14:18:25.000000000 +0200 -+++ examples/bitbang2.c 2010-02-03 14:18:34.000000000 +0200 -@@ -30,6 +30,7 @@ - - - #include -+#include - #include - #ifdef __WIN32__ - #define usleep(x) Sleep((x+999)/1000) Property changes on: head/devel/libftdi/files/patch-examples_bitbang2.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/libftdi/files/patch-examples_find_all.c =================================================================== --- head/devel/libftdi/files/patch-examples_find_all.c (revision 364946) +++ head/devel/libftdi/files/patch-examples_find_all.c (nonexistent) @@ -1,10 +0,0 @@ ---- examples/find_all.c.orig 2009-03-17 23:06:40.000000000 +0200 -+++ examples/find_all.c 2010-02-03 14:17:13.000000000 +0200 -@@ -6,6 +6,7 @@ - */ - - #include -+#include - #include - - int main(void) Property changes on: head/devel/libftdi/files/patch-examples_find_all.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/libftdi/files/patch-examples_bitbang_ft2232.c =================================================================== --- head/devel/libftdi/files/patch-examples_bitbang_ft2232.c (revision 364946) +++ head/devel/libftdi/files/patch-examples_bitbang_ft2232.c (nonexistent) @@ -1,10 +0,0 @@ ---- examples/bitbang_ft2232.c.orig 2010-02-03 14:18:48.000000000 +0200 -+++ examples/bitbang_ft2232.c 2010-02-03 14:18:57.000000000 +0200 -@@ -9,6 +9,7 @@ - */ - - #include -+#include - #include - #ifdef __WIN32__ - #define sleep(x) _sleep(x) Property changes on: head/devel/libftdi/files/patch-examples_bitbang_ft2232.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/libftdi/files/patch-examples_simple.c =================================================================== --- head/devel/libftdi/files/patch-examples_simple.c (revision 364946) +++ head/devel/libftdi/files/patch-examples_simple.c (nonexistent) @@ -1,10 +0,0 @@ ---- examples/simple.c.orig 2009-03-17 23:05:53.000000000 +0200 -+++ examples/simple.c 2010-02-03 14:17:13.000000000 +0200 -@@ -6,6 +6,7 @@ - */ - - #include -+#include - #include - - int main(void) Property changes on: head/devel/libftdi/files/patch-examples_simple.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property