From owner-svn-ports-all@FreeBSD.ORG Sun Sep 16 00:18:36 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 070A41065670; Sun, 16 Sep 2012 00:18:36 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E62658FC0A; Sun, 16 Sep 2012 00:18:35 +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 q8G0IZxO064663; Sun, 16 Sep 2012 00:18:35 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8G0IZ6Z064659; Sun, 16 Sep 2012 00:18:35 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201209160018.q8G0IZ6Z064659@svn.freebsd.org> From: Eitan Adler Date: Sun, 16 Sep 2012 00:18:35 +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: r304328 - in head: Mk x11-wm/vtwm 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: Sun, 16 Sep 2012 00:18:36 -0000 Author: eadler Date: Sun Sep 16 00:18:35 2012 New Revision: 304328 URL: http://svn.freebsd.org/changeset/ports/304328 Log: - Covert to OptionsNG - Add generally useful options to the global list Approved by: ak (maintainer) Modified: head/Mk/bsd.options.desc.mk head/x11-wm/vtwm/Makefile Modified: head/Mk/bsd.options.desc.mk ============================================================================== --- head/Mk/bsd.options.desc.mk Sat Sep 15 21:25:33 2012 (r304327) +++ head/Mk/bsd.options.desc.mk Sun Sep 16 00:18:35 2012 (r304328) @@ -255,6 +255,7 @@ SMB_DESC?= SMB protocol support SNAPPY_DESC?= Snappy compression library support SNDFILE_DESC?= libsndfile support SNMP_DESC?= SNMP protocol support +SOUND_DESC?= Sound support SPANDSP_DESC?= Spandsp faxing support SPEEX_DESC?= Speex audio format support SQL_DESC?= SQL database backend Modified: head/x11-wm/vtwm/Makefile ============================================================================== --- head/x11-wm/vtwm/Makefile Sat Sep 15 21:25:33 2012 (r304327) +++ head/x11-wm/vtwm/Makefile Sun Sep 16 00:18:35 2012 (r304328) @@ -22,20 +22,20 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd MAN1= vtwm.1 -OPTIONS= SOUND "Sound support" on \ - NLS "Native language support" on +OPTIONS_DEFINE= SOUND NLS +OPTIONS_DEFAULT= SOUND NLS -.include +.include -.if defined(WITH_SOUND) +.if ${PORT_OPTIONS:MSOUND} LIB_DEPENDS+= rplay.1:${PORTSDIR}/audio/rplay MAKE_ENV+= SOUND=yes .else MAKE_ENV+= SOUND=no .endif -.if defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} CFLAGS+= -DNO_I18N_SUPPORT .endif -.include +.include