# $Id: Portfile 83385 2011-08-31 01:52:26Z dports@macports.org $ PortSystem 1.0 name iguanaIR version 1.0pre2 revision 0 categories sysutils maintainers verizon.net:tomldavis platforms darwin license LGPL-2.1 description Driver for IguanaWorks USB IR Transceiver long_description \ The IguanaWorks USB IR Transceiver, available for purchase at the IguanaWorks \ website, is a simple USB device that can communicate with most home electronics \ and remote controls via infrared (IR). The transceiver can both send and receive \ IR codes and is fully compatible with LIRC. notes "\ ************************************************************************** \n\ * This note can be displayed at any time by executing the following command: \n\ * >> port notes ${name} \n\ * \n\ * WARNING: Stop the iguanaIR daemon before uninstalling iguanaIR. \n\ * \n\ * Start the iguanaIR daemon (igdaemon) by executing the following command: \n\ * >> sudo port load iguanaIR \n\ * \n\ * Stop the iguanaIR daemon (igdaemon) by executing the following command: \n\ * >> sudo port unload iguanaIR \n\ * \n\ **************************************************************************" homepage http://iguanaworks.net/projects/IguanaIR master_sites http://iguanaworks.net/downloads use_bzip2 yes checksums md5 719c41ab69350bc64e0fbfaadf604f13 \ sha1 5656e77fc82ca3a3e6b57223a8f7f8ef3d0e8f58 \ rmd160 5309808cd3b6620059c46a0ff62d3e5051f8b055 patchfiles patch-compat.h.diff \ patch-daemon.c.diff \ patch-drivers-Makefile.in.diff \ patch-Make.settings.in.diff \ patch-Makefile.in.diff \ patch-README.txt.diff \ patch-configure.diff configure.args --disable-python depends_lib port:popt \ port:libusb \ port:libusb-compat post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/docs/TroubleShooting \ ${destroot}${prefix}/share/doc/${name}/TroubleShooting xinstall -m 644 ${worksrcpath}/docs/faq \ ${destroot}${prefix}/share/doc/${name}/faq xinstall -m 644 ${worksrcpath}/README.txt \ ${destroot}${prefix}/share/doc/${name}/README.txt xinstall -m 644 ${worksrcpath}/docs/hardware \ ${destroot}${prefix}/share/doc/${name}/hardware xinstall -m 644 ${worksrcpath}/docs/lirc \ ${destroot}${prefix}/share/doc/${name}/lirc } startupitem.create yes startupitem.executable ${prefix}/bin/igdaemon --no-daemon --driver-dir=${prefix}/lib/iguanaIR