From owner-svn-ports-head@FreeBSD.ORG Mon Dec 17 20:02:11 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86733F8F; Mon, 17 Dec 2012 20:02:11 +0000 (UTC) (envelope-from wxs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 512378FC13; Mon, 17 Dec 2012 20:02:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBHK2B2p057819; Mon, 17 Dec 2012 20:02:11 GMT (envelope-from wxs@svn.freebsd.org) Received: (from wxs@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBHK2Bwf057818; Mon, 17 Dec 2012 20:02:11 GMT (envelope-from wxs@svn.freebsd.org) Message-Id: <201212172002.qBHK2Bwf057818@svn.freebsd.org> From: Wesley Shields Date: Mon, 17 Dec 2012 20:02:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309126 - head/audio/aumix X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 20:02:11 -0000 Author: wxs Date: Mon Dec 17 20:02:10 2012 New Revision: 309126 URL: http://svnweb.freebsd.org/changeset/ports/309126 Log: Convert to new options. PR: ports/173783 Submitted by: Chris Petrik Approved by: maintainer timeout Modified: head/audio/aumix/Makefile (contents, props changed) Modified: head/audio/aumix/Makefile ============================================================================== --- head/audio/aumix/Makefile Mon Dec 17 20:00:53 2012 (r309125) +++ head/audio/aumix/Makefile Mon Dec 17 20:02:10 2012 (r309126) @@ -1,9 +1,5 @@ -# New ports collection makefile for: aumix -# Date created: 21 May 1999 -# Whom: Chris Piazza -# +# Created by: Chris Piazza # $FreeBSD$ -# PORTNAME= aumix PORTVERSION= 2.9.1 @@ -34,11 +30,12 @@ PLIST_FILES= bin/aumix bin/mute bin/xaum PLIST_FILES+= share/aumix/${ii} .endfor -OPTIONS= NLS "Enable NLS support" on \ - GTK2 "Enable GTK2 gui" off +.include -.include -.if defined(WITHOUT_NLS) +OPTIONS_DEFINE= NLS GTK2 +OPTIONS_DEFAULT= NLS + +.if ${PORT_OPTIONS:MNLS} CONFIGURE_ARGS+=--disable-nls .else USE_GETTEXT= yes @@ -48,14 +45,14 @@ PLIST_FILES+= share/locale/${ii}/LC_MESS .endfor .endif -pre-patch: - @${REINPLACE_CMD} -e "s:/etc:${PREFIX}/etc:" ${WRKSRC}/src/common.[ch] - -.if defined(WITH_GTK2) +.if ${PORT_OPTIONS:MGTK2} PKGNAMESUFFIX= -gtk USE_GNOME= gtk20 .else CONFIGURE_ARGS+=--without-gtk .endif -.include +pre-patch: + @${REINPLACE_CMD} -e "s:/etc:${PREFIX}/etc:" ${WRKSRC}/src/common.[ch] + +.include