[22126] trunk/dports/comms

source_changes at macosforge.org source_changes at macosforge.org
Sat Feb 17 18:22:59 PST 2007


Revision: 22126
          http://trac.macosforge.org/projects/macports/changeset/22126
Author:   pipping at macports.org
Date:     2007-02-17 18:22:59 -0800 (Sat, 17 Feb 2007)

Log Message:
-----------
 * new port, submitted by Keith W. Shaw

Added Paths:
-----------
    trunk/dports/comms/heyu/
    trunk/dports/comms/heyu/Portfile
    trunk/dports/comms/heyu/files/
    trunk/dports/comms/heyu/files/patch-Makefile.in

Added: trunk/dports/comms/heyu/Portfile
===================================================================
--- trunk/dports/comms/heyu/Portfile	                        (rev 0)
+++ trunk/dports/comms/heyu/Portfile	2007-02-18 02:22:59 UTC (rev 22126)
@@ -0,0 +1,53 @@
+# $Id: Portfile,v 1.1 2005/04/09 09:31:10 matt Exp $
+
+PortSystem 1.0
+name			heyu
+version			2.0beta.7.2
+categories		comms
+platforms		darwin
+maintainers		heyu at keithws.net
+homepage		http://heyu.tanj.com
+description		HEYU is a text-based console program for remotely \
+			controlling lights and appliances in the home or \
+			office.
+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 \
+			X10 RF signals.
+
+master_sites		${homepage}/download/
+
+checksums		md5 303efa8b97b2a65df42d98b99047e5a4
+extract.suffix		.tgz
+
+patchfiles		patch-Makefile.in
+
+configure.args		darwin
+configure.cmd		./Configure
+
+post-destroot {
+	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
+
+post-activate {
+	# 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  }
+

Added: trunk/dports/comms/heyu/files/patch-Makefile.in
===================================================================
--- trunk/dports/comms/heyu/files/patch-Makefile.in	                        (rev 0)
+++ trunk/dports/comms/heyu/files/patch-Makefile.in	2007-02-18 02:22:59 UTC (rev 22126)
@@ -0,0 +1,10 @@
+--- Makefile.in.original	2007-02-17 13:36:46.000000000 -0800
++++ Makefile.in	2007-02-17 13:37:13.000000000 -0800
+@@ -51,7 +51,6 @@
+ 	chgrp $(GROUP) $(BIN)/heyu
+ 	chmod 755 $(BIN)/heyu
+ 	chown $(OWNER) $(BIN)/heyu
+-	./install.sh
+ 
+ $(MAN)/heyu.1: heyu.1
+ 	mkdir -p -m 755 $(MAN)

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


More information about the macports-changes mailing list