[36536] trunk/dports/sysutils/lirc/Portfile
ecronin at macports.org
ecronin at macports.org
Mon May 5 08:56:45 PDT 2008
Revision: 36536
http://trac.macosforge.org/projects/macports/changeset/36536
Author: ecronin at macports.org
Date: 2008-05-05 08:56:43 -0700 (Mon, 05 May 2008)
Log Message:
-----------
sysutils/lirc: Add support for the UDP driver (e.g. HDHomeRun)
Closes #13162
Modified Paths:
--------------
trunk/dports/sysutils/lirc/Portfile
Modified: trunk/dports/sysutils/lirc/Portfile
===================================================================
--- trunk/dports/sysutils/lirc/Portfile 2008-05-05 15:52:18 UTC (rev 36535)
+++ trunk/dports/sysutils/lirc/Portfile 2008-05-05 15:56:43 UTC (rev 36536)
@@ -13,7 +13,8 @@
LIRC is a package that allows you to decode and send infra-red \
signals of many (but not all) commonly used remote controls. \
NOTE: This port does not support any IR devices directly. You \
- must connect to a remote lircd (--connect=example.org:8765) for \
+ must connect to a remote lircd (--connect=example.org:8765) or \
+ listen for UDP packets (--driver=udp --device=<portnum>) for \
lirc to be of any use locally.
homepage http://www.lirc.org
@@ -24,7 +25,7 @@
rmd160 8948efc3e9dc34426ea32a3c63da63c0efa7dce2
livecheck.distname LIRC
-configure.args --with-driver=none --with-devdir=${prefix}/var/run \
+configure.args --with-driver=udp --with-devdir=${prefix}/var/run \
--sysconfdir=${prefix}/etc --localstatedir=${prefix}/var \
--mandir=${prefix}/share/man
@@ -35,19 +36,23 @@
${destroot}${prefix}/etc/lircmd.conf.sample
xinstall -m 644 ${worksrcpath}/contrib/lircrc \
${destroot}${prefix}/etc/lircrc.sample
+ xinstall -m 755 -d ${destroot}${prefix}/var/log
+ destroot.keepdirs ${destroot}${prefix}/var/log
}
post-activate {
ui_msg "Please edit:"
ui_msg " '${prefix}/etc/LaunchDaemons/org.macports.${name}/${name}.wrapper'"
- ui_msg "and specify a valid lircd server to connect to."
+ ui_msg "and specify a valid driver or remote lircd to connect to."
ui_msg "Any clients of lirc must be able to read and write to:"
ui_msg "${prefix}/var/run/lircd"
}
startupitem.create yes
startupitem.start \
- "${prefix}/sbin/lircd --driver=null --connect=example.org" \
+ "#device=\"--connect=example.org:port\" # remote lircd" \
+ "#device=\"--driver=udp --device=port\" # UDP listener" \
+ "${prefix}/sbin/lircd --permission=0666 \$\{device\}" \
"\[ -r ${prefix}/etc/lircmd.conf \] && \\" \
"\t${prefix}/sbin/lircmd"
startupitem.stop \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080505/5087cae2/attachment.html
More information about the macports-changes
mailing list