maintainers keithws.net:heyu
homepage http://heyu.tanj.com
description HEYU is a text-based console program for remotely \
controlling lights and appliances in the home or \
long_description Heyu uses the CM11A computer interface to send X10 \
control signals over the AC power lines to modules \
which can turn On, Off, or Dim attached lamps or \
appliances. It can store a schedule of timed \
events in the CM11A memory for execution when the \
computer is turned off or disconnected. Heyu can \
also use an optional CM17A interface to transmit \
master_sites ${homepage}/download/
checksums md5 303efa8b97b2a65df42d98b99047e5a4
patchfiles patch-Makefile.in
configure.cmd ./Configure
reinplace "s|OWNER *= *root|OWNER = ${install.user}|g" ${worksrcpath}/Configure
reinplace "s|GROUP *= *wheel|GROUP = ${install.group}|g" ${worksrcpath}/Configure
xinstall -d ${destroot}${prefix}/etc/heyu
file copy ${worksrcpath}/x10config.sample ${destroot}${prefix}/etc/heyu/x10.conf.sample
destroot.destdir BIN=${destroot}${prefix}/bin \
MAN=${destroot}${prefix}/share/man/man1 \
MAN5=${destroot}${prefix}/share/man/man5
# install default config file only if no previous config file exists
if {![file exists ${prefix}/etc/heyu/x10.conf]} {
file copy ${prefix}/etc/heyu/x10.conf.sample \
${prefix}/etc/heyu/x10.conf
variant nocm17a { configure.args-append -nocm17a }
variant noext0 { configure.args-append -noext0 }