1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name iguanaIR |
---|
6 | version 1.0pre2 |
---|
7 | revision 0 |
---|
8 | categories sysutils |
---|
9 | maintainers verizon.net:tomldavis |
---|
10 | platforms darwin |
---|
11 | license LGPLv2.1 |
---|
12 | description Driver for IguanaWorks USB IR Transceiver |
---|
13 | |
---|
14 | long_description \ |
---|
15 | The IguanaWorks USB IR Transceiver, available for purchase at the IguanaWorks \ |
---|
16 | website, is a simple USB device that can communicate with most home electronics \ |
---|
17 | and remote controls via infrared (IR). The transceiver can both send and receive \ |
---|
18 | IR codes and is fully compatible with LIRC. |
---|
19 | |
---|
20 | notes \ |
---|
21 | ************************************************************************** \n\ |
---|
22 | * This note can be displayed at any time by executing the following command: \n\ |
---|
23 | * >> port notes ${name} \n\ |
---|
24 | * \n\ |
---|
25 | * WARNING: Stop the iguanaIR daemon before uninstalling iguanaIR. \n\ |
---|
26 | * \n\ |
---|
27 | * Start the iguanaIR daemon (igdaemon) by executing the following command: \n\ |
---|
28 | * >> sudo launchctl load -w /Library/LaunchDaemons/org.macports.iguanaIR.plist \n\ |
---|
29 | * \n\ |
---|
30 | * Stop the iguanaIR daemon (igdaemon) by executing the following command: \n\ |
---|
31 | * >> sudo launchctl unload -w /Library/LaunchDaemons/org.macports.iguanaIR.plist \n\ |
---|
32 | * \n\ |
---|
33 | ************************************************************************** |
---|
34 | |
---|
35 | homepage http://iguanaworks.net/projects/IguanaIR |
---|
36 | |
---|
37 | master_sites http://iguanaworks.net/downloads |
---|
38 | |
---|
39 | use_bzip2 yes |
---|
40 | |
---|
41 | checksums md5 719c41ab69350bc64e0fbfaadf604f13 \ |
---|
42 | sha1 5656e77fc82ca3a3e6b57223a8f7f8ef3d0e8f58 \ |
---|
43 | rmd160 5309808cd3b6620059c46a0ff62d3e5051f8b055 |
---|
44 | |
---|
45 | patchfiles patch-compat.h.diff \ |
---|
46 | patch-daemon.c.diff \ |
---|
47 | patch-drivers-Makefile.in.diff \ |
---|
48 | patch-Make.settings.in.diff \ |
---|
49 | patch-Makefile.in.diff \ |
---|
50 | patch-README.txt.diff \ |
---|
51 | patch-configure.diff |
---|
52 | |
---|
53 | configure.args --disable-python |
---|
54 | |
---|
55 | depends_lib port:popt \ |
---|
56 | port:libusb \ |
---|
57 | port:libusb-compat |
---|
58 | |
---|
59 | post-destroot { |
---|
60 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
61 | xinstall -m 644 ${worksrcpath}/docs/TroubleShooting \ |
---|
62 | ${destroot}${prefix}/share/doc/${name}/TroubleShooting |
---|
63 | xinstall -m 644 ${worksrcpath}/docs/faq \ |
---|
64 | ${destroot}${prefix}/share/doc/${name}/faq |
---|
65 | xinstall -m 644 ${worksrcpath}/README.txt \ |
---|
66 | ${destroot}${prefix}/share/doc/${name}/README.txt |
---|
67 | xinstall -m 644 ${worksrcpath}/docs/hardware \ |
---|
68 | ${destroot}${prefix}/share/doc/${name}/hardware |
---|
69 | xinstall -m 644 ${worksrcpath}/docs/lirc \ |
---|
70 | ${destroot}${prefix}/share/doc/${name}/lirc |
---|
71 | } |
---|
72 | |
---|
73 | |
---|
74 | startupitem.create yes |
---|
75 | startupitem.executable ${prefix}/bin/igdaemon --no-daemon --driver-dir=${prefix}/lib/iguanaIR |
---|
76 | |
---|