From 016486d38244d56a59065956a509b43de2e966a2 Mon Sep 17 00:00:00 2001 From: tsarna Date: Mon, 18 Dec 2000 23:09:53 +0000 Subject: p5-ControlX10-CM11 from Damon Brodie in PR#11763 --- misc/p5-ControlX10-CM11/Makefile | 20 ++++++++++++++++++++ misc/p5-ControlX10-CM11/files/md5 | 3 +++ misc/p5-ControlX10-CM11/files/patch-sum | 3 +++ misc/p5-ControlX10-CM11/patches/patch-aa | 13 +++++++++++++ misc/p5-ControlX10-CM11/pkg/COMMENT | 1 + misc/p5-ControlX10-CM11/pkg/DESCR | 7 +++++++ misc/p5-ControlX10-CM11/pkg/PLIST | 1 + 7 files changed, 48 insertions(+) create mode 100644 misc/p5-ControlX10-CM11/Makefile create mode 100644 misc/p5-ControlX10-CM11/files/md5 create mode 100644 misc/p5-ControlX10-CM11/files/patch-sum create mode 100644 misc/p5-ControlX10-CM11/patches/patch-aa create mode 100644 misc/p5-ControlX10-CM11/pkg/COMMENT create mode 100644 misc/p5-ControlX10-CM11/pkg/DESCR create mode 100644 misc/p5-ControlX10-CM11/pkg/PLIST (limited to 'misc') 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 $ -- cgit v1.2.3