svn commit: r303811 - head/audio/yell
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Sep 7 17:21:27 UTC 2012
Author: ehaupt
Date: Fri Sep 7 17:21:27 2012
New Revision: 303811
URL: http://svn.freebsd.org/changeset/ports/303811
Log:
- Convert to OPTIONSng
- Remove deprecated header information
Modified:
head/audio/yell/Makefile
Modified: head/audio/yell/Makefile
==============================================================================
--- head/audio/yell/Makefile Fri Sep 7 13:06:41 2012 (r303810)
+++ head/audio/yell/Makefile Fri Sep 7 17:21:27 2012 (r303811)
@@ -1,9 +1,4 @@
-# New ports collection makefile for: yell
-# Date created: 10 August 2004
-# Whom: Emanuel Haupt <ehaupt at critical.ch>
-#
# $FreeBSD$
-#
PORTNAME= yell
PORTVERSION= 1.1
@@ -19,13 +14,16 @@ PLIST_FILES= bin/yell
ONLY_FOR_ARCHS= i386 amd64
-OPTIONS= SUID "Set the setuid bit on the yell program" off
+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 defined(WITH_SUID)
+.if ${PORT_OPTIONS:MSUID}
${INSTALL_PROGRAM} -m 4110 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.else
${INSTALL_PROGRAM} -m 0100 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
More information about the svn-ports-all
mailing list