Date: Wed, 20 Jun 2012 23:11:39 +0200 From: "Markus Dolze" <bsdfan@nurfuerspam.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/169275: [MAINTAINER] sysutils/lcdproc: Update to optionsNG Message-ID: <20120620210922.4DBFB1065670@hub.freebsd.org> Resent-Message-ID: <201206202110.q5KLABip004032@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169275 >Category: ports >Synopsis: [MAINTAINER] sysutils/lcdproc: Update to optionsNG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jun 20 21:10:11 UTC 2012 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120620210922.4DBFB1065670>