mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
78 lines
3.0 KiB
Tcl
78 lines
3.0 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name iguanaIR
|
|
version 1.0pre2
|
|
# This port has moved to https://github.com/iguanaworks/iguanair
|
|
revision 0
|
|
categories sysutils
|
|
maintainers nomaintainer
|
|
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 \
|
|
path:lib/pkgconfig/libusb-1.0.pc: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
|
|
|