c2a92a1aea
version 1.1.0 (via revision 464079).
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: Craig Leres <leres@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= arduino-irremote
|
|
PORTVERSION= 2.1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= leres@FreeBSD.org
|
|
COMMENT= Multi-protocol infrared remote library for the Arduino
|
|
|
|
LICENSE= LGPL21
|
|
|
|
RUN_DEPENDS= arduino:devel/arduino
|
|
|
|
USES= dos2unix
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= z3t0
|
|
GH_PROJECT= Arduino-IRremote
|
|
|
|
NO_BUILD= yes
|
|
|
|
FILES= IRremote.cpp IRremote.h IRremoteInt.h irPronto.cpp \
|
|
irRecv.cpp irSend.cpp ir_Aiwa.cpp ir_Denon.cpp \
|
|
ir_Dish.cpp ir_JVC.cpp ir_LG.cpp ir_Mitsubishi.cpp \
|
|
ir_NEC.cpp ir_Panasonic.cpp ir_RC5_RC6.cpp \
|
|
ir_Samsung.cpp ir_Sanyo.cpp ir_Sharp.cpp ir_Sony.cpp \
|
|
ir_Template.cpp ir_Whynter.cpp keywords.txt \
|
|
|
|
PLIST_FILES= ${FILES:S,^,arduino/libraries/IRremote/,}
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/arduino/libraries/IRremote
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${FILES} \
|
|
${STAGEDIR}${PREFIX}/arduino/libraries/IRremote)
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|