Changeset View
Changeset View
Standalone View
Standalone View
sysutils/iichid/Makefile
# Created by: jrhett@netconsonance.com | # Created by: jrhett@netconsonance.com | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= iichid | PORTNAME= iichid | ||||
DISTVERSION= 0.0.1 | DISTVERSION= 0.0.1 | ||||
CATEGORIES= sysutils | CATEGORIES= sysutils | ||||
MAINTAINER= imp@FreeBSD.org | MAINTAINER= imp@FreeBSD.org | ||||
COMMENT= Generic FreeBSD HID layer for I2C and USB devices | COMMENT= Generic FreeBSD HID layer for I2C and USB devices | ||||
LICENSE= BSD2CLAUSE | LICENSE= BSD2CLAUSE | ||||
#LICENSE_FILE= Not yet packaged | #LICENSE_FILE= Not yet packaged | ||||
IGNORE_FreeBSD_11= Requires FreeBSD 12.1 or later | |||||
ONLY_FOR_ARCHS= aarch64 amd64 i386 | ONLY_FOR_ARCHS= aarch64 amd64 i386 | ||||
ONLY_FOR_ARCHS_REASON= Requires architecture supporting ACPI | ONLY_FOR_ARCHS_REASON= Requires architecture supporting ACPI | ||||
USES= kmod uidfix | USES= kmod uidfix | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= wulf7 | GH_ACCOUNT= wulf7 | ||||
# Strip -Werror from sys/conf/kmod.mk | # Strip -Werror from sys/conf/kmod.mk | ||||
MAKE_ENV= WERROR="" | MAKE_ENV= WERROR="" | ||||
PLIST_FILES= ${KMODDIR}/iichid.ko | PLIST_FILES= ${KMODDIR}/iichid.ko | ||||
# USB backend is not yet complete and | # USB backend is not yet complete and | ||||
# interferes with existing USB drivers | # interferes with existing USB drivers | ||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} -e '/usbhid.c/s/^/#/' ${WRKSRC}/Makefile | ${REINPLACE_CMD} -e '/usbhid.c/s/^/#/' ${WRKSRC}/Makefile | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.mk> | ||||
.if ${OSVERSION} < 1201000 | |||||
IGNORE= requires FreeBSD versions 12.1+, this system is running ${OSREL} | |||||
.endif | |||||
.include <bsd.port.post.mk> |