2008-07-26 09:59:05 +02:00
|
|
|
# New ports collection makefile for: roboctl
|
2007-09-07 02:30:46 +02:00
|
|
|
# Date created: 2007-05-03
|
|
|
|
# Whom: Jason Bacon <jwbacon@tds.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2008-07-26 09:59:05 +02:00
|
|
|
PORTNAME= roboctl
|
2008-07-28 10:52:55 +02:00
|
|
|
PORTVERSION= 0.3.2
|
2007-09-07 02:30:46 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
|
2008-07-26 09:59:05 +02:00
|
|
|
http://jbacon.dyndns.org/~bacon/Ports/distfiles/
|
2007-09-07 02:30:46 +02:00
|
|
|
|
|
|
|
MAINTAINER= jwbacon@tds.net
|
2008-07-26 09:59:05 +02:00
|
|
|
COMMENT= API for communications with Lego and Vex robot controllers
|
2007-09-07 02:30:46 +02:00
|
|
|
|
2008-07-28 10:52:55 +02:00
|
|
|
LIB_DEPENDS= usb-0.1:${PORTSDIR}/devel/libusb
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libgamepad.a:${PORTSDIR}/devel/libgamepad
|
2007-09-07 02:30:46 +02:00
|
|
|
|
2008-07-26 09:59:05 +02:00
|
|
|
OPTIONS= CUTECOM "Install cutecom for Vex debugging" On
|
2007-09-07 02:30:46 +02:00
|
|
|
|
2008-07-26 09:59:05 +02:00
|
|
|
MAN1= legoctl.1 vexctl.1 nxtremote.1
|
|
|
|
MAN3= roboctl.3
|
2007-09-07 02:30:46 +02:00
|
|
|
|
2008-07-26 09:59:05 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2007-09-07 02:30:46 +02:00
|
|
|
|
2008-07-26 09:59:05 +02:00
|
|
|
.if defined(WITH_CUTECOM)
|
2008-07-26 12:04:02 +02:00
|
|
|
RUN_DEPENDS+= cutecom:${PORTSDIR}/comms/cutecom
|
2008-07-26 09:59:05 +02:00
|
|
|
.endif
|
|
|
|
|
2008-07-28 10:52:55 +02:00
|
|
|
post-install:
|
|
|
|
(cd ${WRKSRC}/Commands/NXTRemote; ${MAKE})
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Commands/NXTRemote/nxtremote ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/Commands/NXTRemote/nxtremote.1 ${MANPREFIX}/man/man1
|
|
|
|
|
2008-07-26 09:59:05 +02:00
|
|
|
.include <bsd.port.post.mk>
|