From owner-svn-ports-head@FreeBSD.ORG Thu Jun 6 22:11:39 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 60DEB10C; Thu, 6 Jun 2013 22:11:39 +0000 (UTC) (envelope-from bapt@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 533FB1845; Thu, 6 Jun 2013 22:11:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r56MBdJj024202; Thu, 6 Jun 2013 22:11:39 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r56MBdlL024201; Thu, 6 Jun 2013 22:11:39 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201306062211.r56MBdlL024201@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 6 Jun 2013 22:11:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320138 - head/x11-themes/clearlooks 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: Thu, 06 Jun 2013 22:11:39 -0000 Author: bapt Date: Thu Jun 6 22:11:38 2013 New Revision: 320138 URL: http://svnweb.freebsd.org/changeset/ports/320138 Log: Convert to new options framework Modified: head/x11-themes/clearlooks/Makefile Modified: head/x11-themes/clearlooks/Makefile ============================================================================== --- head/x11-themes/clearlooks/Makefile Thu Jun 6 22:10:16 2013 (r320137) +++ head/x11-themes/clearlooks/Makefile Thu Jun 6 22:11:38 2013 (r320138) @@ -21,11 +21,13 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if defined(PORTNAME) && !defined(PKGNAMESUFFIX) -OPTIONS+= ANIMATION "Enable experimental animated progressbars" Off \ - METACITY "Depend on MetaCity Theme" On +OPTIONS_DEFINE= ANIMATION METACITY +OPTIONS_DEFAULT= METACITY +ANIMATION_DESC= Enable experimental animated progressbars +METACITY_DESC= Depend on MetaCity Theme .endif -.include +.include .if !defined(PKGNAMESUFFIX) CONFLICTS+= gtk-engines2-[0-9]* clearlooks-themes[0-9]* @@ -42,11 +44,11 @@ INSTALL_WRKSRC= ${WRKSRC}/themes PLIST_SUB+= ENGINE="@comment " .endif -.if !defined(WITHOUT_METACITY) && !defined(PKGNAMESUFFIX) +.if ${PORT_OPTIONS:MMETACITY} && !defined(PKGNAMESUFFIX) RUN_DEPENDS+= ${LOCALBASE}/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml:${PORTSDIR}/x11-themes/clearlooks-metacity .endif -.if defined(WITH_ANIMATION) +.if ${PORT_OPTIONS:MANIMATION} CONFIGURE_ARGS+= --enable-animation .endif @@ -67,4 +69,4 @@ post-patch: ${WRKSRC}/themes/Clearlooks/gtk-2.0/Makefile.in .endif -.include +.include