summaryrefslogtreecommitdiff
path: root/misc/heyu2
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2000-01-05 13:30:35 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2000-01-05 13:30:35 +0000
commit658aa84723143409de48ae8872d869b31e07c4a9 (patch)
tree6a3cabe56883470ec962b8d47437ce64f0d75790 /misc/heyu2
parentUpgrade to v1.6. (diff)
heyu is used to control X10 CM11A devices
PR: 15738 Submitted by: Paul M. Lambert <plambert@plambert.net>
Notes
Notes: svn path=/head/; revision=24435
Diffstat (limited to 'misc/heyu2')
-rw-r--r--misc/heyu2/Makefile35
-rw-r--r--misc/heyu2/distinfo1
-rw-r--r--misc/heyu2/files/patch-aa34
-rw-r--r--misc/heyu2/pkg-comment1
-rw-r--r--misc/heyu2/pkg-descr12
-rw-r--r--misc/heyu2/pkg-plist3
6 files changed, 86 insertions, 0 deletions
diff --git a/misc/heyu2/Makefile b/misc/heyu2/Makefile
new file mode 100644
index 000000000000..3e17f9398bcc
--- /dev/null
+++ b/misc/heyu2/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: heyu
+# Version required: 1.28f
+# Date created: 27 December 1999
+# Whom: plambert@plambert.net
+#
+# $FreeBSD$
+#
+
+DISTNAME= x10_heyu
+PKGNAME= heyu-1.28f
+CATEGORIES= misc
+MASTER_SITES= http://www.prado.com/~dbs/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= plambert@plambert.net
+
+ALL_TARGET= heyu
+WRKSRC= ${WRKDIR}/heyu.dir
+
+MAN1= heyu.1
+MAN5= x10config.5 \
+ x10sched.5
+
+do-configure:
+ ${PERL} -pi.orig -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
+
+post-install:
+ strip ${PREFIX}/bin/heyu
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/heyu
+ ${INSTALL_DATA} ${WRKSRC}/x10config ${PREFIX}/share/examples/heyu
+ ${INSTALL_DATA} ${WRKSRC}/x10sched.conf.sample ${PREFIX}/share/examples/heyu
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/heyu2/distinfo b/misc/heyu2/distinfo
new file mode 100644
index 000000000000..c09e7a350884
--- /dev/null
+++ b/misc/heyu2/distinfo
@@ -0,0 +1 @@
+MD5 (x10_heyu.tgz) = f41c73b9665242ce5b9aba2b9a4f92e8
diff --git a/misc/heyu2/files/patch-aa b/misc/heyu2/files/patch-aa
new file mode 100644
index 000000000000..a924c133b1ed
--- /dev/null
+++ b/misc/heyu2/files/patch-aa
@@ -0,0 +1,34 @@
+--- Makefile.orig Tue Jan 4 23:10:44 2000
++++ Makefile Tue Jan 4 23:12:54 2000
+@@ -3,7 +3,7 @@
+ BIN = /usr/local/bin
+ MAN = /usr/local/man/man1
+ MAN5 = /usr/local/man/man5
+-GROUP = sys
++GROUP = wheel
+ OWNER = bin
+
+
+@@ -13,19 +13,19 @@
+ # -DVOID if compiler doesn't understand 'void'
+ # -DMINIEXCH if using the DEC mini-exchange
+
+-CFLAGS = -O $(DFLAGS) -Wall
++#CFLAGS = -O $(DFLAGS) -Wall
+ #LDFLAGS = -z -i
+ #LIBS = -lm -lc_s # uncomment if using shared libraries
+ LIBS = -lm -lc
+
+ ## For LINUX, use the following defines in addition to what's above
+-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
++#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
+
+ ## For solaris, use the following defines in addition to what's above
+ # DFLAGS = -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT
+
+ ## if you're using freebsd, just set the flag for select.
+-# DFLAGS= -DHASSELECT
++DFLAGS= -DHASSELECT -DLOCKDIR=\"/var/tmp\"
+
+ ## If you aren't sure, try this
+ #DFLAGS = -DSYSV -DPOSIX
diff --git a/misc/heyu2/pkg-comment b/misc/heyu2/pkg-comment
new file mode 100644
index 000000000000..2bf207db5fef
--- /dev/null
+++ b/misc/heyu2/pkg-comment
@@ -0,0 +1 @@
+Control a CM11A interface from the command line
diff --git a/misc/heyu2/pkg-descr b/misc/heyu2/pkg-descr
new file mode 100644
index 000000000000..6b5c3c8b1550
--- /dev/null
+++ b/misc/heyu2/pkg-descr
@@ -0,0 +1,12 @@
+The CM11A is a device built by the X10 company for controlling
+devices by sending signals through the power lines. It's a small
+box that plugs into an AC outlet and connects to a serial port.
+The CM11A is shipped with Windows software. Heyu will control your
+X10 devices, set the cm11a interface clock and monitor x10 signals
+on the AC power lines. It will upload macros and timers to your
+CM11A for stand-alone execution.
+
+WWW: http://www.prado.com/~dbs/
+
+- plambert
+plambert@plambert.net
diff --git a/misc/heyu2/pkg-plist b/misc/heyu2/pkg-plist
new file mode 100644
index 000000000000..e24c578722a1
--- /dev/null
+++ b/misc/heyu2/pkg-plist
@@ -0,0 +1,3 @@
+bin/heyu
+share/examples/heyu/x10config
+share/examples/heyu/x10sched.conf.sample