Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2012 15:16:30 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303379 - head/sysutils/lavaps
Message-ID:  <201208301516.q7UFGUwG066829@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208301516.q7UFGUwG066829>