freebsd-ports/audio/yell/Makefile

34 lines
671 B
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= yell
2011-03-31 17:25:10 +02:00
PORTVERSION= 1.1
CATEGORIES= audio
MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
2013-03-08 15:00:30 +01:00
COMMENT= Command-line pc speaker bell
PLIST_FILES= bin/yell
2008-08-08 11:21:29 +02:00
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}
2013-10-02 15:43:29 +02:00
${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} \
${STAGEDIR}/${PREFIX}/bin
.else
2013-10-02 15:43:29 +02:00
${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} \
${STAGEDIR}/${PREFIX}/bin
.endif
2011-03-31 17:25:10 +02:00
.include <bsd.port.mk>