Changes since 4.1.2 - The old decode function is renamed to decode_old(decode_results *aResults). decode (decode_results *aResults) is only available in IRremote.h and prints a message. - Added DECODE_ONKYO, to force 16 bit command and data decoding. - Enable Bang&Olufsen 455 kHz if SEND_PWM_BY_TIMER is defined. - Fixed bug: TinyReceiver throwing ISR not in IRAM on ESP8266. - Usage of ATTinyCore pin numbering scheme e.g. PIN_PB2. - Added ARDUINO_ARCH_NRF52 to support Seeed XIAO nRF52840 Sense. - First untested support of Uno R4. - Extraced version macros to IRVersion.h. Reported by: portscout
34 lines
753 B
Makefile
34 lines
753 B
Makefile
PORTNAME= arduino-irremote
|
|
PORTVERSION= 4.2.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>
|