Bug 15738 - new port submission: heyu
Summary: new port submission: heyu
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris D.Faulhaber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-28 08:50 UTC by Paul M. Lambert
Modified: 2000-01-05 13:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul M. Lambert 1999-12-28 08:50:01 UTC
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 <bsd.port.mk>
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
Comment 1 Chris D.Faulhaber freebsd_committer freebsd_triage 2000-01-05 01:27:10 UTC
Responsible Changed
From-To: freebsd-ports->jedgar

I'll take this one 
Comment 2 Chris D.Faulhaber freebsd_committer freebsd_triage 2000-01-05 13:28:16 UTC
State Changed
From-To: open->closed

Committed, thanks!