aboutsummaryrefslogtreecommitdiff
path: root/devel/roboctl
diff options
context:
space:
mode:
Diffstat (limited to 'devel/roboctl')
-rw-r--r--devel/roboctl/Makefile11
-rw-r--r--devel/roboctl/distinfo6
2 files changed, 8 insertions, 9 deletions
diff --git a/devel/roboctl/Makefile b/devel/roboctl/Makefile
index 920586b2b8b0..d793c423b594 100644
--- a/devel/roboctl/Makefile
+++ b/devel/roboctl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= roboctl
-PORTVERSION= 0.3.5
+PORTVERSION= 0.3.6
CATEGORIES= devel
MASTER_SITES= http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
http://jbacon.dyndns.org/~bacon/Ports/distfiles/
@@ -16,6 +16,8 @@ COMMENT= API and tools for communicating with Lego and Vex robots
BUILD_DEPENDS= ${LOCALBASE}/lib/libgamepad.a:${PORTSDIR}/devel/libgamepad
+MAKE_ENV= EXTRALIBS=-lbluetooth
+
OPTIONS= CUTECOM "Install cutecom for Vex debugging" On
MAN1= legoctl.1 vexctl.1 nxtremote.1
@@ -31,11 +33,8 @@ LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
RUN_DEPENDS+= cutecom:${PORTSDIR}/comms/cutecom
.endif
-post-patch:
-.if ${OSVERSION} >= 800069
- @${REINPLACE_CMD} -E -e 's,/usr/local/include/usb.h,/usr/include/usb.h,g' \
- ${WRKSRC}/Libs/C/Makefile.depend
-.endif
+pre-build:
+ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} depend)
post-install:
(cd ${WRKSRC}/Commands/NXTRemote; ${MAKE})
diff --git a/devel/roboctl/distinfo b/devel/roboctl/distinfo
index e20204958859..b122d00f65b0 100644
--- a/devel/roboctl/distinfo
+++ b/devel/roboctl/distinfo
@@ -1,3 +1,3 @@
-MD5 (roboctl-0.3.5.tar.gz) = 60dcbaea81d06a632493ff0ddb2e0cdc
-SHA256 (roboctl-0.3.5.tar.gz) = 7990d7772085bd0bf107d9f825bc990a02383a0335cbc72f5d0d818adf4bc646
-SIZE (roboctl-0.3.5.tar.gz) = 137243
+MD5 (roboctl-0.3.6.tar.gz) = 1a9e5d45367359fbcbd16370f29ae899
+SHA256 (roboctl-0.3.6.tar.gz) = 3157a347e483e43048a21f36ac8d78a2d3cd3e9651e8f1fb1b3742c019225fa5
+SIZE (roboctl-0.3.6.tar.gz) = 141134