From owner-svn-ports-head@FreeBSD.ORG Thu Aug 30 15:16:30 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 94300106566B; Thu, 30 Aug 2012 15:16:30 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7EDE98FC23; Thu, 30 Aug 2012 15:16:30 +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 q7UFGUDK066831; Thu, 30 Aug 2012 15:16:30 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7UFGUwG066829; Thu, 30 Aug 2012 15:16:30 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201208301516.q7UFGUwG066829@svn.freebsd.org> From: Bryan Drewery Date: Thu, 30 Aug 2012 15:16:30 +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: r303379 - head/sysutils/lavaps X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Aug 2012 15:16:30 -0000 Author: bdrewery Date: Thu Aug 30 15:16:29 2012 New Revision: 303379 URL: http://svn.freebsd.org/changeset/ports/303379 Log: - Convert to new options framework - Use bsd.port.options.mk Approved by: eadler, bapt (mentors, implicit) Modified: head/sysutils/lavaps/Makefile Modified: head/sysutils/lavaps/Makefile ============================================================================== --- head/sysutils/lavaps/Makefile Thu Aug 30 14:54:17 2012 (r303378) +++ head/sysutils/lavaps/Makefile Thu Aug 30 15:16:29 2012 (r303379) @@ -21,15 +21,16 @@ USE_XORG= x11 xext sm ice MAN1= lavaps.1 -OPTIONS= GTK "Build with GTK frontend instead of the default TK" off +OPTIONS_DEFINE= GTK +GTK_DESC= Build with GTK frontend instead of the default TK CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include +.include -.if defined(WITH_GTK) +.if ${PORT_OPTIONS:MGTK} PKGNAMESUFFIX= -gtk2 USE_GNOME+= gtk20 libgnomeui USE_GETTEXT= yes @@ -45,4 +46,4 @@ CONFIGURE_ARGS+= --with-tcltk --disable- PLIST_SUB+= NLS="@comment " .endif -.include +.include