Date: Fri, 7 Sep 2012 17:21:27 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303811 - head/audio/yell Message-ID: <201209071721.q87HLRt3035411@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209071721.q87HLRt3035411>