From owner-svn-ports-all@FreeBSD.ORG Fri Sep 7 17:21:27 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB8A3106564A; Fri, 7 Sep 2012 17:21:27 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 96B658FC08; Fri, 7 Sep 2012 17:21:27 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q87HLRfw035413; Fri, 7 Sep 2012 17:21:27 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q87HLRt3035411; Fri, 7 Sep 2012 17:21:27 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201209071721.q87HLRt3035411@svn.freebsd.org> From: Emanuel Haupt Date: Fri, 7 Sep 2012 17:21:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303811 - head/audio/yell X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 17:21:27 -0000 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 -# # $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 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