summaryrefslogtreecommitdiff
path: root/audio/yell/Makefile
blob: 2c1dda7d4a7b5abbb3552e0dc8811d47143cb68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PORTNAME=	yell
PORTVERSION=	1.1
CATEGORIES=	audio
MASTER_SITES=	LOCAL/ehaupt

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Command-line pc speaker bell

LICENSE=	BSD2CLAUSE

ONLY_FOR_ARCHS=	i386 amd64

OPTIONS_DEFINE=	SUID
SUID_DESC=	Use suid to allow execution as non root

SUID_PLIST_FILES=	"@(,,4110) bin/yell"
SUID_PLIST_FILES_OFF=	"@(,,0100) bin/yell"

do-build:
	${CC} ${WRKSRC}/yell.c ${CFLAGS} -o ${WRKSRC}/${PORTNAME}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
		${STAGEDIR}/${PREFIX}/bin

.include <bsd.port.mk>