[28152] trunk/dports/sysutils

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 22 17:08:03 PDT 2007


Revision: 28152
          http://trac.macosforge.org/projects/macports/changeset/28152
Author:   sfiera at macports.org
Date:     2007-08-22 17:08:03 -0700 (Wed, 22 Aug 2007)

Log Message:
-----------
New Port sysutils/lirc
 * Resolves #12545

Added Paths:
-----------
    trunk/dports/sysutils/lirc/
    trunk/dports/sysutils/lirc/Portfile

Added: trunk/dports/sysutils/lirc/Portfile
===================================================================
--- trunk/dports/sysutils/lirc/Portfile	                        (rev 0)
+++ trunk/dports/sysutils/lirc/Portfile	2007-08-23 00:08:03 UTC (rev 28152)
@@ -0,0 +1,50 @@
+# $Id$
+
+PortSystem 1.0
+name            lirc
+version         0.8.2
+categories      sysutils net
+maintainers     ecronin at gizmolabs.org
+platforms       darwin
+description     Linux Infrared Remote Control
+long_description \
+    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 \
+    lirc to be of any use locally.
+
+homepage        http://www.lirc.org
+master_sites    sourceforge
+use_bzip2       yes
+checksums       md5 83e7060a6693b81075c178d7e3b215af \
+                sha1 84025603692836106714a2895e6201f6eb60ab37 \
+                rmd160 e806608f8644a1d1f66689a40b2ed27b4cf43bd9
+
+configure.args  --with-driver=none --with-devdir=${prefix}/var/run \
+                --sysconfdir=${prefix}/etc --localstatedir=${prefix}/var \
+                --mandir=${prefix}/share/man
+
+post-destroot {
+    xinstall -m 644 ${worksrcpath}/contrib/lircd.conf \
+        ${destroot}${prefix}/etc/lircd.conf.sample
+    xinstall -m 644 ${worksrcpath}/contrib/lircmd.conf \
+        ${destroot}${prefix}/etc/lircmd.conf.sample
+    xinstall -m 644 ${worksrcpath}/contrib/lircrc \
+        ${destroot}${prefix}/etc/lircrc.sample
+}
+
+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."
+}
+
+startupitem.create  yes
+startupitem.start   \
+    "${prefix}/sbin/lircd --driver=null --connect=example.org" \
+    "\[ -r ${prefix}/etc/lircmd.conf \] && \\" \
+    "\t${prefix}/sbin/lircmd"
+startupitem.stop    \
+    "killall -TERM lircd" \
+    "killall -TERM lircmd"


Property changes on: trunk/dports/sysutils/lirc/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070822/089626b6/attachment.html


More information about the macports-changes mailing list