View | Details | Raw Unified | Return to bug 169275
Collapse All | Expand All

(-)./Makefile (-6 / +9 lines)
Lines 33-41 Link Here
33
MAN5=		lcdproc-config.5
33
MAN5=		lcdproc-config.5
34
MAN8=		LCDd.8
34
MAN8=		LCDd.8
35
35
36
OPTIONS=	USB "Enable USB support" off \
36
OPTIONS_DEFINE=	USB FTDI HID
37
		LIBFTDI "Enable libftdi support (requires USB)" off \
37
USB_DESC=	Enable USB support
38
		LIBHID "Enable libhid support (requires USB)" off
38
FTDI_DESC=	Enable libftdi support (requires USB)
39
HID_DESC=	Enable libhid support (requires USB)
40
OPTIONS_DEFAULT=USB
41
NO_OPTIONS_SORT=yes
39
42
40
# Empty args to aclocal required!
43
# Empty args to aclocal required!
41
ACLOCAL_ARGS=
44
ACLOCAL_ARGS=
Lines 73-79 Link Here
73
76
74
.include <bsd.port.options.mk>
77
.include <bsd.port.options.mk>
75
78
76
.if defined(WITH_USB)
79
.if ${PORT_OPTIONS:MUSB}
77
. if ${OSVERSION} < 800069
80
. if ${OSVERSION} < 800069
78
LIB_DEPENDS+=		usb-0.1.8:${PORTSDIR}/devel/libusb
81
LIB_DEPENDS+=		usb-0.1.8:${PORTSDIR}/devel/libusb
79
CONFIGURE_ARGS+=	--with-libusb
82
CONFIGURE_ARGS+=	--with-libusb
Lines 85-91 Link Here
85
		picolcd \
88
		picolcd \
86
		shuttleVFD
89
		shuttleVFD
87
90
88
. if defined(WITH_LIBFTDI)
91
. if ${PORT_OPTIONS:MFTDI}
89
LIB_DEPENDS+=		ftdi.19:${PORTSDIR}/devel/libftdi
92
LIB_DEPENDS+=		ftdi.19:${PORTSDIR}/devel/libftdi
90
CONFIGURE_ARGS+=	--enable-libftdi
93
CONFIGURE_ARGS+=	--enable-libftdi
91
PLIST_SUB+=		FTDI=""
94
PLIST_SUB+=		FTDI=""
Lines 97-103 Link Here
97
PLIST_SUB+=		FTDI="@comment "
100
PLIST_SUB+=		FTDI="@comment "
98
. endif
101
. endif
99
102
100
. if defined(WITH_LIBHID)
103
. if ${PORT_OPTIONS:MHID}
101
LIB_DEPENDS+=		hid:${PORTSDIR}/devel/libhid
104
LIB_DEPENDS+=		hid:${PORTSDIR}/devel/libhid
102
CONFIGURE_ARGS+=	--enable-libhid
105
CONFIGURE_ARGS+=	--enable-libhid
103
PLIST_SUB+=		HID=""
106
PLIST_SUB+=		HID=""

Return to bug 169275