source: trunk/dports/comms/heyu/Portfile @ 56307

Last change on this file since 56307 was 50984, checked in by and.damore@…, 11 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name                    heyu
5version                 2.0beta.7.2
6categories              comms
7platforms               darwin
8maintainers             keithws.net:heyu
9homepage                http://heyu.tanj.com
10description             HEYU is a text-based console program for remotely \
11                        controlling lights and appliances in the home or \
12                        office.
13long_description        Heyu uses the CM11A computer interface to send X10 \
14                        control signals over the AC power lines to modules \
15                        which can turn On, Off, or Dim attached lamps or \
16                        appliances.  It can store a schedule of timed \
17                        events in the CM11A memory for execution when the \
18                        computer is turned off or disconnected.   Heyu can \
19                        also use an optional CM17A interface to transmit \
20                        X10 RF signals.
21
22master_sites            ${homepage}/download/
23
24checksums               md5 303efa8b97b2a65df42d98b99047e5a4
25extract.suffix          .tgz
26
27patchfiles              patch-Makefile.in
28
29configure.args          darwin
30configure.cmd           ./Configure
31
32post-destroot {
33        xinstall -d ${destroot}${prefix}/etc/heyu
34        file copy ${worksrcpath}/x10config.sample ${destroot}${prefix}/etc/heyu/x10.conf.sample
35}
36
37destroot.destdir        BIN=${destroot}${prefix}/bin \
38                        MAN=${destroot}${prefix}/share/man/man1 \
39                        MAN5=${destroot}${prefix}/share/man/man5
40
41post-activate {
42        # install default config file only if no previous config file exists
43        if {![file exists ${prefix}/etc/heyu/x10.conf]} {
44                file copy ${prefix}/etc/heyu/x10.conf.sample \
45                ${prefix}/etc/heyu/x10.conf
46        }
47}
48
49
50variant nocm17a { configure.args-append         -nocm17a }
51
52variant noext0  { configure.args-append         -noext0  }
53
Note: See TracBrowser for help on using the repository browser.