blob: cf65cc08653bb031b5f3a163fb090eab5a96f4d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# New ports collection makefile for: roboctl
# Date created: 2007-05-03
# Whom: Jason Bacon <jwbacon@tds.net>
#
# $FreeBSD$
#
PORTNAME= roboctl
PORTVERSION= 0.3.2
CATEGORIES= devel
MASTER_SITES= http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
http://jbacon.dyndns.org/~bacon/Ports/distfiles/
MAINTAINER= jwbacon@tds.net
COMMENT= API for communications with Lego and Vex robot controllers
LIB_DEPENDS= usb-0.1:${PORTSDIR}/devel/libusb
BUILD_DEPENDS= ${LOCALBASE}/lib/libgamepad.a:${PORTSDIR}/devel/libgamepad
OPTIONS= CUTECOM "Install cutecom for Vex debugging" On
MAN1= legoctl.1 vexctl.1 nxtremote.1
MAN3= roboctl.3
.include <bsd.port.pre.mk>
.if defined(WITH_CUTECOM)
RUN_DEPENDS+= cutecom:${PORTSDIR}/comms/cutecom
.endif
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
.include <bsd.port.post.mk>
|