Lines 20-35
USE_GITHUB= yes
Link Here
|
20 |
|
20 |
|
21 |
CONFIGURE_ARGS= --enable-drivers="${LCDPROC_DRIVERS}" \ |
21 |
CONFIGURE_ARGS= --enable-drivers="${LCDPROC_DRIVERS}" \ |
22 |
--disable-dependency-tracking \ |
22 |
--disable-dependency-tracking \ |
|
|
23 |
--disable-libhid \ |
23 |
--disable-libusb-1-0 \ |
24 |
--disable-libusb-1-0 \ |
24 |
--disable-doxygen |
25 |
--disable-doxygen |
25 |
|
26 |
|
|
|
27 |
PLIST_SUB+= HID="@comment " |
28 |
|
26 |
SUB_FILES= pkg-message |
29 |
SUB_FILES= pkg-message |
27 |
|
30 |
|
28 |
# Options |
31 |
# Options |
29 |
OPTIONS_DEFINE= USB FTDI HID FREETYPE PNG SERDISP X11 |
32 |
OPTIONS_DEFINE= USB FTDI FREETYPE PNG SERDISP X11 |
30 |
USB_DESC= USB support |
33 |
USB_DESC= USB support |
31 |
FTDI_DESC= Build drivers using libftdi (requires USB) |
34 |
FTDI_DESC= Build drivers using libftdi (requires USB) |
32 |
HID_DESC= Build drivers using libhid (requires USB) |
|
|
33 |
SERDISP_DESC= Build drivers using serdisplib |
35 |
SERDISP_DESC= Build drivers using serdisplib |
34 |
|
36 |
|
35 |
OPTIONS_DEFAULT=USB FREETYPE |
37 |
OPTIONS_DEFAULT=USB FREETYPE |
Lines 114-128
CONFIGURE_ARGS+= --disable-libftdi
Link Here
|
114 |
PLIST_SUB+= FTDI="@comment " |
116 |
PLIST_SUB+= FTDI="@comment " |
115 |
. endif |
117 |
. endif |
116 |
|
118 |
|
117 |
. if ${PORT_OPTIONS:MHID} |
|
|
118 |
LIB_DEPENDS+= libhid.so:devel/libhid |
119 |
PLIST_SUB+= HID="" |
120 |
LCDPROC_DRIVERS+=mdm166a |
121 |
. else |
122 |
CONFIGURE_ARGS+= --disable-libhid |
123 |
PLIST_SUB+= HID="@comment " |
124 |
. endif |
125 |
|
126 |
.else |
119 |
.else |
127 |
CONFIGURE_ARGS+= --disable-libusb --disable-libftdi --disable-libhid |
120 |
CONFIGURE_ARGS+= --disable-libusb --disable-libftdi --disable-libhid |
128 |
PLIST_SUB+= USB="@comment " FTDI="@comment " HID="@comment " |
121 |
PLIST_SUB+= USB="@comment " FTDI="@comment " HID="@comment " |