mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
ChangeLog: https://github.com/wulf7/utouch/releases/tag/0.0.5 Fix build on recent 14-CURRENT. PR: 270899 Reported by: wulf@freebsd.org (maintainer)
40 lines
822 B
Makefile
40 lines
822 B
Makefile
PORTNAME= utouch-kmod
|
|
PORTVERSION= 0.0.5
|
|
CATEGORIES= misc
|
|
|
|
MAINTAINER= wulf@FreeBSD.org
|
|
COMMENT= Kernel driver for absolute USB HID mice
|
|
WWW= https://github.com/wulf7/utouch
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= kmod uidfix
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= wulf7
|
|
GH_PROJECT= utouch
|
|
|
|
PLIST_FILES= ${KMODDIR}/utouch.ko
|
|
|
|
OPTIONS_DEFINE= SOURCE
|
|
OPTIONS_DEFAULT=SOURCE
|
|
SOURCE_DESC= Install kernel module sources
|
|
|
|
KMODSRC_DIR= sys/modules/${PORTNAME}
|
|
KMODSRC_FILES= Makefile utouch.c
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSOURCE}
|
|
PLIST_FILES+= ${KMODSRC_FILES:S|^|${KMODSRC_DIR}/|}
|
|
.endif
|
|
|
|
post-install-SOURCE-on:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${KMODSRC_DIR}
|
|
.for file in ${KMODSRC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/${KMODSRC_DIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|