From bsdfan@nurfuerspam.de  Wed Jun 20 21:09:22 2012
Return-Path: <bsdfan@nurfuerspam.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 4DBFB1065670
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Jun 2012 21:09:22 +0000 (UTC)
	(envelope-from bsdfan@nurfuerspam.de)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22])
	by mx1.freebsd.org (Postfix) with SMTP id B3D9A8FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 20 Jun 2012 21:09:21 +0000 (UTC)
Received: (qmail invoked by alias); 20 Jun 2012 21:09:14 -0000
Received: from p549474D4.dip.t-dialin.net (EHLO kirika.intra.mdolze.de) [84.148.116.212]
  by mail.gmx.net (mp038) with SMTP; 20 Jun 2012 23:09:14 +0200
Received: by kirika.intra.mdolze.de (sSMTP sendmail emulation); Wed, 20 Jun 2012 23:11:39 +0200
Message-Id: <20120620210922.4DBFB1065670@hub.freebsd.org>
Date: Wed, 20 Jun 2012 23:11:39 +0200
From: "Markus Dolze" <bsdfan@nurfuerspam.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] sysutils/lcdproc: Update to optionsNG
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         169275
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/lcdproc: Update to optionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    madpilot
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 20 21:10:11 UTC 2012
>Closed-Date:    Wed Jun 20 21:52:38 UTC 2012
>Last-Modified:  Wed Jun 20 22:00:26 UTC 2012
>Originator:     Markus Dolze
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD kirika.intra.mdolze.de 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011
>Description:
Update to optionsNG. Enable USB by default.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- lcdproc-0.5.5.patch begins here ---
diff -ruN --exclude=CVS ../lcdproc.orig/Makefile ./Makefile
--- ../lcdproc.orig/Makefile	2012-06-20 22:07:36.000000000 +0200
+++ ./Makefile	2012-06-20 23:00:04.000000000 +0200
@@ -33,9 +33,12 @@
 MAN5=		lcdproc-config.5
 MAN8=		LCDd.8
 
-OPTIONS=	USB "Enable USB support" off \
-		LIBFTDI "Enable libftdi support (requires USB)" off \
-		LIBHID "Enable libhid support (requires USB)" off
+OPTIONS_DEFINE=	USB FTDI HID
+USB_DESC=	Enable USB support
+FTDI_DESC=	Enable libftdi support (requires USB)
+HID_DESC=	Enable libhid support (requires USB)
+OPTIONS_DEFAULT=USB
+NO_OPTIONS_SORT=yes
 
 # Empty args to aclocal required!
 ACLOCAL_ARGS=
@@ -73,7 +76,7 @@
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_USB)
+.if ${PORT_OPTIONS:MUSB}
 . if ${OSVERSION} < 800069
 LIB_DEPENDS+=		usb-0.1.8:${PORTSDIR}/devel/libusb
 CONFIGURE_ARGS+=	--with-libusb
@@ -85,7 +88,7 @@
 		picolcd \
 		shuttleVFD
 
-. if defined(WITH_LIBFTDI)
+. if ${PORT_OPTIONS:MFTDI}
 LIB_DEPENDS+=		ftdi.19:${PORTSDIR}/devel/libftdi
 CONFIGURE_ARGS+=	--enable-libftdi
 PLIST_SUB+=		FTDI=""
@@ -97,7 +100,7 @@
 PLIST_SUB+=		FTDI="@comment "
 . endif
 
-. if defined(WITH_LIBHID)
+. if ${PORT_OPTIONS:MHID}
 LIB_DEPENDS+=		hid:${PORTSDIR}/devel/libhid
 CONFIGURE_ARGS+=	--enable-libhid
 PLIST_SUB+=		HID=""
--- lcdproc-0.5.5.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->madpilot 
Responsible-Changed-By: madpilot 
Responsible-Changed-When: Wed Jun 20 21:44:32 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169275 
State-Changed-From-To: open->closed 
State-Changed-By: madpilot 
State-Changed-When: Wed Jun 20 21:52:36 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169275 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/169275: commit references a PR
Date: Wed, 20 Jun 2012 21:52:37 +0000 (UTC)

 madpilot    2012-06-20 21:52:27 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/lcdproc     Makefile 
   Log:
   - Convert to new options framework
   - Enable USB support by default
   
   PR:             ports/169275
   Submitted by:   Markus Dolze <bsdfan@nurfuerspam.de>
   Approved by:    crees, tabthorpe (mentors, implicit)
   
   Revision  Changes    Path
   1.30      +9 -6      ports/sysutils/lcdproc/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
