- Use dev/speaker/speaker.h instead of machine/speaker.h on
${OSVERSION} >= 601000 - Use OPTIONS - Reformat pkg-descr (fmt -w 80) - Remove pkg-message, contents is bluntly obvious
This commit is contained in:
parent
16a5f550cd
commit
afa52eec84
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170709
3 changed files with 14 additions and 23 deletions
|
@ -12,18 +12,20 @@ MASTER_SITES= http://critical.ch/distfiles/ \
|
|||
http://energy.critical.ch/distfiles/
|
||||
|
||||
MAINTAINER= ehaupt@FreeBSD.org
|
||||
COMMENT= A command line speaker bell using machine/speaker.h
|
||||
COMMENT= A command line pc speaker bell
|
||||
|
||||
PLIST_FILES= bin/yell
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
pre-everything::
|
||||
.if !defined(WITH_SUID)
|
||||
@${ECHO_CMD} ""
|
||||
@${ECHO_CMD} "You can define WITH_SUID if you want yell to be installed with"
|
||||
@${ECHO_CMD} "the sticky bit (mode 4110)"
|
||||
@${ECHO_CMD} ""
|
||||
OPTIONS= SUID "Set the setuid bit on the yell program" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OSVERSION} >= 601000
|
||||
@${REINPLACE_CMD} -e 's|machine/speaker.h|dev/speaker/speaker.h|' \
|
||||
${WRKSRC}/${PORTNAME}.c
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
|
@ -36,7 +38,4 @@ do-install:
|
|||
${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
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).
|
||||
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).
|
||||
|
||||
WWW: http://www.critical.ch/yell
|
||||
|
||||
- ehaupt
|
||||
ehaupt@critical.ch
|
||||
- ehaupt ehaupt@critical.ch
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
*******************************************************************************
|
||||
yell is now installed. Make sure that speaker.ko is loaded on your system.
|
||||
Under FreeBSD 5.x you can put speaker_load="YES" in your /boot/loader.conf.
|
||||
You can manually load speaker.ko by typing "kldload speaker" or recompile your
|
||||
kernel with "device speaker".
|
||||
*******************************************************************************
|
Loading…
Reference in a new issue