From owner-freebsd-ports Tue Dec 28 0:50: 8 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3852D14DD8 for ; Tue, 28 Dec 1999 00:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA11148; Tue, 28 Dec 1999 00:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from pinky.plambert.net (pinky.plambert.net [205.219.88.225]) by hub.freebsd.org (Postfix) with ESMTP id B757B14EA0 for ; Tue, 28 Dec 1999 00:44:44 -0800 (PST) (envelope-from plambert@pinky.plambert.net) Received: (from plambert@localhost) by pinky.plambert.net (8.9.3/8.9.3) id AAA42743; Tue, 28 Dec 1999 00:44:44 -0800 (PST) (envelope-from plambert) Message-Id: <199912280844.AAA42743@pinky.plambert.net> Date: Tue, 28 Dec 1999 00:44:44 -0800 (PST) From: "Paul M. Lambert" Reply-To: plambert@plambert.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/15738: new port submission: heyu Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15738 >Category: ports >Synopsis: new port submission: heyu >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 28 00:50:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Paul M. Lambert >Release: FreeBSD 3.3-STABLE i386 >Organization: >Environment: tested on a 3.3-STABLE circa 11/2; should work fine on pretty much everything since 3.0 (and probably before...) >Description: Here is a port I've made of heyu, which controls a CM11A X-10 interface. It's fairly simple; mostly, I'm trying to learn how to submit ports. _Please_ give me feedback if you see something stupid (or ignorant or naive) that I've done! # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # heyu # heyu/Makefile # heyu/pkg # heyu/pkg/COMMENT # heyu/pkg/DESCR # heyu/pkg/PLIST # heyu/files # heyu/files/md5 # heyu/patches # heyu/patches/patch-aa # echo c - heyu mkdir -p heyu > /dev/null 2>&1 echo x - heyu/Makefile sed 's/^X//' >heyu/Makefile << 'END-of-heyu/Makefile' X# New ports collection makefile for: heyu X# Version required: 1.28e X# Date created: 27 December 1999 X# Whom: plambert@plambert.net X# X# $FreeBSD$ X# X XDISTNAME= x10_heyu XPKGNAME= heyu-1.28e XCATEGORIES= misc XMASTER_SITES= http://www.prado.com/~dbs/ XEXTRACT_SUFX= .tgz X XMAINTAINER= plambert@plambert.net X XWRKSRC= ${WRKDIR}/heyu.dir XMAN1= heyu.1 XMAN5= x10config.5 x10sched.5 X XALL_TARGET= heyu X Xpost-install: X strip ${PREFIX}/bin/heyu X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/examples/heyu X ${INSTALL_MAN} ${WRKSRC}/x10config ${PREFIX}/share/examples/heyu X ${INSTALL_MAN} ${WRKSRC}/x10sched.conf.sample ${PREFIX}/share/examples/heyu X.endif X X.include END-of-heyu/Makefile echo c - heyu/pkg mkdir -p heyu/pkg > /dev/null 2>&1 echo x - heyu/pkg/COMMENT sed 's/^X//' >heyu/pkg/COMMENT << 'END-of-heyu/pkg/COMMENT' XControl a CM11A interface from the command line END-of-heyu/pkg/COMMENT echo x - heyu/pkg/DESCR sed 's/^X//' >heyu/pkg/DESCR << 'END-of-heyu/pkg/DESCR' XThe CM11A is a device built by the X10 company for controlling Xdevices by sending signals through the power lines. It's a small Xbox that plugs into an AC outlet and connects to a serial port. XThe CM11A is shipped with Windows software. Heyu will control your XX10 devices, set the cm11a interface clock and monitor x10 signals Xon the AC power lines. It will upload macros and timers to your XCM11A for stand-alone execution. X XWWW: http://www.prado.com/~dbs/ X X- plambert Xplambert@plambert.net END-of-heyu/pkg/DESCR echo x - heyu/pkg/PLIST sed 's/^X//' >heyu/pkg/PLIST << 'END-of-heyu/pkg/PLIST' Xbin/heyu Xshare/examples/heyu/x10config Xshare/examples/heyu/x10sched.conf.sample END-of-heyu/pkg/PLIST echo c - heyu/files mkdir -p heyu/files > /dev/null 2>&1 echo x - heyu/files/md5 sed 's/^X//' >heyu/files/md5 << 'END-of-heyu/files/md5' XMD5 (x10_heyu.tgz) = 2223fcc6f3d9b43c665fba89cd390e66 END-of-heyu/files/md5 echo c - heyu/patches mkdir -p heyu/patches > /dev/null 2>&1 echo x - heyu/patches/patch-aa sed 's/^X//' >heyu/patches/patch-aa << 'END-of-heyu/patches/patch-aa' X--- Makefile.orig Mon Dec 27 16:53:31 1999 X+++ Makefile Mon Dec 27 16:54:01 1999 X@@ -3,8 +3,8 @@ X BIN = /usr/local/bin X MAN = /usr/local/man/man1 X MAN5 = /usr/local/man/man5 X-GROUP = sys X-OWNER = bin X+GROUP = wheel X+OWNER = root X X X # set DFLAGS equal to: X@@ -19,13 +19,13 @@ X LIBS = -lm -lc X X ## For LINUX, use the following defines in addition to what's above X-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT X+# DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT X X ## For solaris, use the following defines in addition to what's above X # DFLAGS = -DSYSV -DPOSIX -DSOLARIS -DLOCKDIR=\"/var/spool/locks\" -DHASSELECT X X ## if you're using freebsd, just set the flag for select. X-# DFLAGS= -DHASSELECT X+DFLAGS= -DHASSELECT -DLOCKDIR=\"/var/tmp\" X X ## If you aren't sure, try this X #DFLAGS = -DSYSV -DPOSIX END-of-heyu/patches/patch-aa exit >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message