mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 23:39:20 -04:00
Changes since 4.3.2: - Using 8 bit raw timing buffer for all timings except frame gap (former rawbuf[0]). - Renamed decodedIRData.initialGap to decodedIRData.initialGapTicks. - sendNEC() and sendNEC2() now accepts 16 bit command to better map to NECext protocol found in IRDB databases. - ir_DistanceWidthProtocol() now decodes up to 10 ms mark or spaces if RAM is bigger than 2 k. - Improved sensitivity and decoding of PULSE_DISTANCE + PULSE_WIDTH protocols. - Changed TOLERANCE_FOR_DECODERS_MARK_OR_SPACE_MATCHING to TOLERANCE_FOR_DECODERS_MARK_OR_SPACE_MATCHING_PERCENT. - Improved examples AllProtocolsOnLCD, UnitTest and SimpleReceiver. - New functions decodePulseDistanceWidthData() with 6 parameters and decodePulseDistanceWidthDataStrict() with 7 parameters. Reported by: portscout
34 lines
753 B
Makefile
34 lines
753 B
Makefile
PORTNAME= arduino-irremote
|
|
PORTVERSION= 4.4.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= leres@FreeBSD.org
|
|
COMMENT= Multi-protocol infrared remote library for the Arduino
|
|
WWW= https://arduino-irremote.github.io/Arduino-IRremote/
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= dos2unix
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= z3t0
|
|
GH_PROJECT= Arduino-IRremote
|
|
PORTSCOUT= limit:^[0-9]
|
|
|
|
NO_BUILD= yes
|
|
|
|
RELPATH= arduino/libraries/IRremote
|
|
|
|
DATADIR= ${PREFIX}/${RELPATH}
|
|
PORTDATA= *
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${RELPATH}
|
|
cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${RELPATH}
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|