1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/audio/yell/Makefile
Pav Lucistnik 9209021640 Add yell, 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).

PR:		ports/70277
Submitted by:	Emanuel Haupt <ehaupt@critical.ch>
2004-08-13 18:41:51 +00:00

40 lines
861 B
Makefile

# New ports collection makefile for: yell
# Date created: 10 August 2004
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= yell
PORTVERSION= 1.0
CATEGORIES= audio
MASTER_SITES= http://www.critical.ch/yell/
MAINTAINER= ehaupt@critical.ch
COMMENT= A command line speaker bell using machine/speaker.h
PLIST_FILES= bin/yell
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} ""
.endif
do-build:
${CC} ${WRKSRC}/yell.c ${CFLAGS} -o ${WRKSRC}/${PORTNAME}
do-install:
.if defined(WITH_SUID)
${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.else
${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>