mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
42 lines
965 B
Makefile
42 lines
965 B
Makefile
# Created by: jrhett@netconsonance.com
|
|
|
|
PORTNAME= iichid
|
|
DISTVERSION= 0.0.6
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= wulf@FreeBSD.org
|
|
COMMENT= Generic FreeBSD HID layer for I2C and USB devices
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
IGNORE_FreeBSD_11= Requires FreeBSD 12.1 or later
|
|
IGNORE_FreeBSD_13= Is a part of base system
|
|
IGNORE_FreeBSD_14= Is a part of base system
|
|
|
|
USES= kmod uidfix
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= wulf7
|
|
|
|
PLIST_FILES= ${KMODDIR}/iichid.ko
|
|
|
|
# USB backend is disabled by default as it interferes with existing USB drivers
|
|
# I2C transport requires architecture supporting ACPI
|
|
OPTIONS_DEFINE= DEBUG I2C USB
|
|
OPTIONS_DEFAULT_amd64= I2C
|
|
OPTIONS_DEFAULT_i386= I2C
|
|
OPTIONS_DEFAULT_aarch64=I2C
|
|
|
|
I2C_DESC= HID over I2C support
|
|
USB_DESC= HID over USB support
|
|
|
|
I2C_MAKE_ARGS_OFF= -DDISABLE_IICHID
|
|
USB_MAKE_ARGS_OFF= -DDISABLE_USBHID
|
|
|
|
post-patch-DEBUG-off:
|
|
${REINPLACE_CMD} -e '/iichid_debug =/s/1/0/' ${WRKSRC}/iichid.c
|
|
|
|
.include <bsd.port.mk>
|