Include a MESSAGE on how to use libusb DeviceURI's if the libusb option is on.
This commit is contained in:
parent
3984577869
commit
e04722892c
2 changed files with 15 additions and 2 deletions
11
print/cups/MESSAGE.libusb
Normal file
11
print/cups/MESSAGE.libusb
Normal file
|
@ -0,0 +1,11 @@
|
|||
===========================================================================
|
||||
$NetBSD: MESSAGE.libusb,v 1.1 2010/06/09 08:58:05 sbd Exp $
|
||||
|
||||
To get the libusb DeviceURI's of attached printers run:
|
||||
|
||||
${PREFIX}/libexec/cups/backend/usb
|
||||
|
||||
The DeviceURI is the string starting with "usb://".
|
||||
|
||||
Note: ulpt(4)/usblp printer can be accessed with a "usb:/dev/" DeviceURI.
|
||||
===========================================================================
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.9 2010/05/26 09:18:48 sbd Exp $
|
||||
# $NetBSD: options.mk,v 1.10 2010/06/09 08:58:05 sbd Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.cups
|
||||
PKG_OPTIONS_REQUIRED_GROUPS= pdftops
|
||||
|
@ -9,6 +9,8 @@ PKG_OPTIONS_LEGACY_OPTS+= xpdf:poppler gs:ghostscript
|
|||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
MESSAGE_SRC= ${PKGDIR}/MESSAGE
|
||||
|
||||
.if !empty(PKG_OPTIONS:Macl)
|
||||
CONFIGURE_ARGS+= --enable-acl
|
||||
.else
|
||||
|
@ -48,6 +50,7 @@ CONFIGURE_ARGS+= --disable-gssapi
|
|||
.if !empty(PKG_OPTIONS:Mlibusb)
|
||||
.include "../../devel/libusb/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --enable-libusb
|
||||
MESSAGE_SRC+= ${PKGDIR}/MESSAGE.libusb
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-libusb
|
||||
.endif
|
||||
|
@ -56,7 +59,6 @@ PLIST_VARS+= pam
|
|||
.if !empty(PKG_OPTIONS:Mpam)
|
||||
. include "../../mk/pam.buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --enable-pam
|
||||
MESSAGE_SRC= ${PKGDIR}/MESSAGE
|
||||
MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pam
|
||||
PLIST.pam= yes
|
||||
.else
|
||||
|
|
Loading…
Reference in a new issue