summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>2000-12-18 23:09:53 +0000
committertsarna <tsarna@pkgsrc.org>2000-12-18 23:09:53 +0000
commit6b27431484062feffa8d58363488cd883c8b408b (patch)
tree452baa693ea2e6d380a1b38fc0f0f43f1908aeb6
parentb3288638a3f673fa262a273c1d1f7df7abf7181f (diff)
downloadpkgsrc-6b27431484062feffa8d58363488cd883c8b408b.tar.gz
p5-ControlX10-CM11 from Damon Brodie in PR#11763
-rw-r--r--misc/p5-ControlX10-CM11/Makefile20
-rw-r--r--misc/p5-ControlX10-CM11/files/md53
-rw-r--r--misc/p5-ControlX10-CM11/files/patch-sum3
-rw-r--r--misc/p5-ControlX10-CM11/patches/patch-aa13
-rw-r--r--misc/p5-ControlX10-CM11/pkg/COMMENT1
-rw-r--r--misc/p5-ControlX10-CM11/pkg/DESCR7
-rw-r--r--misc/p5-ControlX10-CM11/pkg/PLIST1
7 files changed, 48 insertions, 0 deletions
diff --git a/misc/p5-ControlX10-CM11/Makefile b/misc/p5-ControlX10-CM11/Makefile
new file mode 100644
index 00000000000..d71ded1c0e1
--- /dev/null
+++ b/misc/p5-ControlX10-CM11/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/18 23:09:53 tsarna Exp $
+#
+
+DISTNAME= ControlX10-CM11-2.09
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= misc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=ControlX10/}
+
+MAINTAINER= damon@brodiefamily.org
+HOMEPAGE= http://members.aol.com/Bbirthisel/alpha.html
+
+DEPENDS+= p5-Device-SerialPort>=0.070:../../comms/p5-Device-SerialPort
+
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/ControlX10/CM11/.packlist
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/p5-ControlX10-CM11/files/md5 b/misc/p5-ControlX10-CM11/files/md5
new file mode 100644
index 00000000000..d670f26d6e6
--- /dev/null
+++ b/misc/p5-ControlX10-CM11/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/18 23:09:53 tsarna Exp $
+
+MD5 (ControlX10-CM11-2.09.tar.gz) = b59c85e92eae2c14ffa63af7ac0a1d9a
diff --git a/misc/p5-ControlX10-CM11/files/patch-sum b/misc/p5-ControlX10-CM11/files/patch-sum
new file mode 100644
index 00000000000..45988edd6e7
--- /dev/null
+++ b/misc/p5-ControlX10-CM11/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/18 23:09:53 tsarna Exp $
+
+MD5 (patch-aa) = 3ab255c8d1482442fd32894acbb61bad
diff --git a/misc/p5-ControlX10-CM11/patches/patch-aa b/misc/p5-ControlX10-CM11/patches/patch-aa
new file mode 100644
index 00000000000..e73da0cf447
--- /dev/null
+++ b/misc/p5-ControlX10-CM11/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/18 23:09:53 tsarna Exp $
+
+--- eg/eg_cm11.plx.orig Sun Dec 17 22:38:46 2000
++++ eg/eg_cm11.plx
+@@ -36,7 +36,7 @@
+ $serial_port = Win32::SerialPort->new ($port,1);
+ }
+ else {
+- $port = shift @ARGV || "/dev/ttyS0";
++ $port = shift @ARGV || "/dev/tty00";
+ $serial_port = Device::SerialPort->new ($port,1);
+ }
+ die "Can't open serial port $port: $^E\n" unless ($serial_port);
diff --git a/misc/p5-ControlX10-CM11/pkg/COMMENT b/misc/p5-ControlX10-CM11/pkg/COMMENT
new file mode 100644
index 00000000000..19020f87647
--- /dev/null
+++ b/misc/p5-ControlX10-CM11/pkg/COMMENT
@@ -0,0 +1 @@
+perl5 module for controlling the X10 CM11A controller
diff --git a/misc/p5-ControlX10-CM11/pkg/DESCR b/misc/p5-ControlX10-CM11/pkg/DESCR
new file mode 100644
index 00000000000..82638159726
--- /dev/null
+++ b/misc/p5-ControlX10-CM11/pkg/DESCR
@@ -0,0 +1,7 @@
+The CM11A is a bi-directional X10 controller that connects to a serial
+port and transmits commands via AC power line to X10 devices. This
+module translates human-readable commands (eg. 'A2', 'AJ') into the
+Interface Communication Protocol accepted by the CM11A. Both the send
+(control output) and receive (monitor external events and status)
+operations are supported by the module. The module also handles
+checksums and retries failed transmissions.
diff --git a/misc/p5-ControlX10-CM11/pkg/PLIST b/misc/p5-ControlX10-CM11/pkg/PLIST
new file mode 100644
index 00000000000..49b6605db6d
--- /dev/null
+++ b/misc/p5-ControlX10-CM11/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/18 23:09:53 tsarna Exp $