summaryrefslogtreecommitdiffstats
path: root/audio/yell/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/yell/Makefile')
-rw-r--r--audio/yell/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/audio/yell/Makefile b/audio/yell/Makefile
index 3b61612..dd67dbf 100644
--- a/audio/yell/Makefile
+++ b/audio/yell/Makefile
@@ -9,25 +9,19 @@ MASTER_SITES= LOCAL/ehaupt
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>
+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:
-.if ${PORT_OPTIONS:MSUID}
- ${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} \
- ${STAGEDIR}/${PREFIX}/bin
-.else
- ${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} \
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
${STAGEDIR}/${PREFIX}/bin
-.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud