svn commit: r303379 - head/sysutils/lavaps

Bryan Drewery bdrewery at FreeBSD.org
Thu Aug 30 15:16:30 UTC 2012


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>



More information about the svn-ports-head mailing list