mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
34 lines
667 B
Makefile
34 lines
667 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yell
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= CRITICAL
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Command-line pc speaker bell
|
|
|
|
PLIST_FILES= bin/yell
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
OPTIONS_DEFINE= SUID
|
|
SUID_DESC= Use suid to allow execution as non root
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-build:
|
|
${CC} ${WRKSRC}/yell.c ${CFLAGS} -o ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
.if ${PORT_OPTIONS:MSUID}
|
|
${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} \
|
|
${STAGEDIR}/${PREFIX}/bin
|
|
.else
|
|
${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} \
|
|
${STAGEDIR}/${PREFIX}/bin
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|