Bug 70277 - New port: audio/yell (A command line speaker bell using machine/speaker.h)
Summary: New port: audio/yell (A command line speaker bell using machine/speaker.h)
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-10 21:40 UTC by Emanuel Haupt
Modified: 2004-08-13 19:42 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 Emanuel Haupt 2004-08-10 21:40:28 UTC
New port: audio/yell

Yell is a little command line utility playing a short tune on your
speaker device. I mainly use it to yell the "sysop" on a remote 
machine. It could also be used as a notification for finished tasks 
(eg. make buildworld && yell).

# 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:
#
#	yell
#	yell/pkg-descr
#	yell/distinfo
#	yell/Makefile
#	yell/pkg-message
#
echo c - yell
mkdir -p yell > /dev/null 2>&1
echo x - yell/pkg-descr
sed 's/^X//' >yell/pkg-descr << 'END-of-yell/pkg-descr'
XYell is a little command line utility playing a short tune on your
Xspeaker device. I mainly use it to yell the "sysop" on a remote 
Xmachine. It could also be used as a notification for finished tasks 
X(eg. make buildworld && yell).
X
XWWW: http://www.critical.ch/yell
X
X- ehaupt
Xehaupt@critical.ch
END-of-yell/pkg-descr
echo x - yell/distinfo
sed 's/^X//' >yell/distinfo << 'END-of-yell/distinfo'
XMD5 (yell-1.0.tar.gz) = 63b682dd3e34e953197ef2294ad80a5f
XSIZE (yell-1.0.tar.gz) = 914
END-of-yell/distinfo
echo x - yell/Makefile
sed 's/^X//' >yell/Makefile << 'END-of-yell/Makefile'
X# New ports collection makefile for:   yell
X# Date created:		10 August 2004
X# Whom:			Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	yell
XPORTVERSION=	1.0
XCATEGORIES=	audio
XMASTER_SITES=	http://www.critical.ch/yell/
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	A command line speaker bell using machine/speaker.h
X
XPLIST_FILES=	bin/yell
X
Xpre-everything::
X.if !defined(WITH_SUID)
X	@${ECHO_CMD} ""
X	@${ECHO_CMD} "You can define WITH_SUID if you want yell to be installed with"
X	@${ECHO_CMD} "the sticky bit (mode 4110)"
X	@${ECHO_CMD} ""
X.endif
X
Xdo-build:
X	${CC} ${WRKSRC}/yell.c ${CFLAGS} -o ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X.if defined(WITH_SUID)
X	${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X.else
X	${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X.endif
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-yell/Makefile
echo x - yell/pkg-message
sed 's/^X//' >yell/pkg-message << 'END-of-yell/pkg-message'
X*******************************************************************************
Xyell is now installed. Make sure that speaker.ko is loaded on your system. 
XUnder FreeBSD 5.x you can put atspeaker_load="YES" in your /boot/loader.conf. 
XYou can manually load speaker.ko by typing "kldload speaker" or recompile your 
Xkernel with "device speaker".
X*******************************************************************************
END-of-yell/pkg-message
exit
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-08-13 19:42:45 UTC
State Changed
From-To: open->closed

New port added, thank you!