summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-06-11 12:18:39 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-06-11 12:18:39 +0000
commit780d1b77de2b5468d92e866aee10346a3da44e1c (patch)
treeb232fd9dd4f914be0086a481854e050237055fbb /misc
parentFix typo. (diff)
add Control a CM11A interface from the command line, version 2
Repopcopy by: marcus PR: 64898 Submitted by: Michael Stowe <mstowe@chicago.us.mensa.org>
Notes
Notes: svn path=/head/; revision=137258
Diffstat (limited to 'misc')
-rw-r--r--misc/heyu2/Makefile62
-rw-r--r--misc/heyu2/distinfo4
-rw-r--r--misc/heyu2/files/patch-ab12
-rw-r--r--misc/heyu2/pkg-descr9
-rw-r--r--misc/heyu2/pkg-plist11
5 files changed, 41 insertions, 57 deletions
diff --git a/misc/heyu2/Makefile b/misc/heyu2/Makefile
index 0e5258e0aabd..6668daac07a3 100644
--- a/misc/heyu2/Makefile
+++ b/misc/heyu2/Makefile
@@ -1,42 +1,44 @@
-# New ports collection makefile for: heyu
-# Date created: 27 December 1999
-# Whom: plambert@plambert.net
+# New ports collection makefile for: heyu2
+# Date created: 29 March 2004
+# Whom: mstowe@chicago.us.mensa.org
#
# $FreeBSD$
#
-PORTNAME= heyu
-PORTVERSION= 1.35
-PORTREVISION= 1
+PORTNAME= heyu2
+PORTVERSION= 2.0.a.5
CATEGORIES= misc
-MASTER_SITES= http://heyu.tanj.com/
-DISTNAME= x10_heyu
+MASTER_SITES= http://heyu.tanj.com/heyu2/
+DISTNAME= heyu2.alpha-5
EXTRACT_SUFX= .tgz
-MAINTAINER= plambert@plambert.net
+MAINTAINER= mstowe@chicago.us.mensa.org
COMMENT= Control a CM11A interface from the command line
-IS_INTERACTIVE= yes
-ALL_TARGET= heyu
-WRKSRC= ${WRKDIR}/heyu.dir
+#IS_INTERACTIVE= yes
+ALL_TARGET= heyu2
+WRKSRC= ${WRKDIR}/heyu2.alpha-5.2.dir
USE_REINPLACE= yes
-
-MAN1= heyu.1 heyuhelper.1
-MAN5= x10config.5 \
- x10sched.5
-
-do-configure:
- ${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
-
-pre-patch:
- (cd ${WRKSRC} && ./Configure freebsd)
-
-post-install:
- ${STRIP_CMD} ${PREFIX}/bin/heyu
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/examples/heyu
- ${INSTALL_DATA} ${WRKSRC}/x10config ${PREFIX}/share/examples/heyu/x10config.sample
- ${INSTALL_DATA} ${WRKSRC}/x10sched.conf.sample ${PREFIX}/share/examples/heyu
-.endif
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= Configure
+CONFIGURE_ARGS= freebsd
+
+MAN1= heyu2.1
+MAN5= x10config2.5 \
+ x10sched2.5 \
+ x10scripts2.5
+
+post-patch:
+ ${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile.in
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/heyu2 ${PREFIX}/bin
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_MAN} ${WRKSRC}/heyu2.1 ${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/x10config2.5 ${MAN5PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/x10sched2.5 ${MAN5PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/x10scripts2.5 ${MAN5PREFIX}/man/man5
+ ${INSTALL_DATA} ${WRKSRC}/x10config.sample ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/x10.sched.sample ${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/misc/heyu2/distinfo b/misc/heyu2/distinfo
index 6e9b5a0fd5aa..9f3d0de13075 100644
--- a/misc/heyu2/distinfo
+++ b/misc/heyu2/distinfo
@@ -1,2 +1,2 @@
-MD5 (x10_heyu.tgz) = e51ecc053c1d8780714bd53a128698f3
-SIZE (x10_heyu.tgz) = 84277
+MD5 (heyu2.alpha-5.tgz) = c653f3571eaa573abe2126c57ce7d2d7
+SIZE (heyu2.alpha-5.tgz) = 247023
diff --git a/misc/heyu2/files/patch-ab b/misc/heyu2/files/patch-ab
deleted file mode 100644
index a5c23b130d4c..000000000000
--- a/misc/heyu2/files/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
---- xwrite.c.orig Sun Jun 3 01:13:55 2001
-+++ xwrite.c Sun Jun 3 01:16:43 2001
-@@ -42,7 +42,9 @@
- # ifdef SCO
- #include <sys/termio.h>
- # else
-+# if !defined(POSIX) && !defined(__FreeBSD__)
- #include <termio.h>
-+# endif
- # endif
- # endif
- #endif
diff --git a/misc/heyu2/pkg-descr b/misc/heyu2/pkg-descr
index 6b5c3c8b1550..e60725c6600c 100644
--- a/misc/heyu2/pkg-descr
+++ b/misc/heyu2/pkg-descr
@@ -1,12 +1,9 @@
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
+The CM11A is shipped with Windows software. Heyu2 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
+WWW: http://heyu.tanj.com/heyu2/
diff --git a/misc/heyu2/pkg-plist b/misc/heyu2/pkg-plist
index 85c305b75f1f..1889f4dcaa28 100644
--- a/misc/heyu2/pkg-plist
+++ b/misc/heyu2/pkg-plist
@@ -1,7 +1,4 @@
-bin/dawndusk
-bin/heyu
-bin/heyuhelper
-bin/makesched
-share/examples/heyu/x10config.sample
-share/examples/heyu/x10sched.conf.sample
-@dirrm share/examples/heyu
+bin/heyu2
+%%EXAMPLESDIR%%/x10config.sample
+%%EXAMPLESDIR%%/x10.sched.sample
+@dirrm share/examples/heyu2