Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2008 15:46:53 GMT
From:      Jason Bacon <jwbacon@tds.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125874: Port update with name change: devel/roboctl (formerly legoctl)
Message-ID:  <200807221546.m6MFkrhK073056@www.freebsd.org>
Resent-Message-ID: <200807221550.m6MFo1vG018867@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125874
>Category:       ports
>Synopsis:       Port update with name change: devel/roboctl (formerly legoctl)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 22 15:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        6.3-RELEASE
>Organization:
NA
>Environment:
FreeBSD sculpin.tds.net 6.3-RELEASE FreeBSD 6.3-RELEASE #1: Mon Feb 25 18:34:05 CST 2008     bacon@sculpin.tds.net:/usr/obj/usr/src/sys/SCULPIN  i386
>Description:
The legoctl library has been updated to support Vex robot controllers as well as the Lego NXT.  This new version also has many enhancements to the NXT interface, and a command-line utility for remote controlling NXT robots from FreeBSD via a PC gamepad over bluetooth.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/devel/legoctl/Makefile roboctl/Makefile
--- /usr/ports/devel/legoctl/Makefile	2007-09-06 19:30:46.000000000 -0500
+++ roboctl/Makefile	2008-07-22 10:40:45.000000000 -0500
@@ -1,28 +1,38 @@
-# New ports collection makefile for:	legoctl
+# New ports collection makefile for:	roboctl
 # Date created:		2007-05-03
 # Whom:			Jason Bacon <jwbacon@tds.net>
 #
-# $FreeBSD: ports/devel/legoctl/Makefile,v 1.1 2007/09/07 00:30:46 miwi Exp $
+# $FreeBSD$
 #
 
-PORTNAME=	legoctl
-PORTVERSION=	0.2
+PORTNAME=	roboctl
+PORTVERSION=	0.3.1
 CATEGORIES=	devel
 MASTER_SITES=	http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
-		http://bacon.is-a-geek.org/~bacon/Ports/distfiles/
+		http://jbacon.dyndns.org/~bacon/Ports/distfiles/
 
 MAINTAINER=	jwbacon@tds.net
-COMMENT=	Lego Mindstorms communication tool
+COMMENT=	API for communications with Lego and Vex robot controllers
 
-LIB_DEPENDS=	usb-0.1.8:${PORTSDIR}/devel/libusb
+LIB_DEPENDS=	usb-0.1:${PORTSDIR}/devel/libusb \
+		gamepad.1:${PORTSDIR}/devel/libgamepad
 
-MAN1=		legoctl.1
+OPTIONS=	CUTECOM	"Install cutecom for Vex debugging" On
 
-PLIST_FILES=	bin/legoctl lib/liblegoctl.a
+CONFLICTS=	legoctl-[0-9]*
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/Commands/Legoctl/legoctl ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/Libs/C/liblegoctl.a ${PREFIX}/lib
-	${INSTALL_MAN} ${WRKSRC}/Commands/Legoctl/legoctl.1 ${PREFIX}/man/man1
+MAN1=		legoctl.1 vexctl.1 nxtremote.1
+MAN3=		roboctl.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if WITH_CUTECOM
+RUN_DEPENDS+=	cutecom:${PORTSDIR}/comms/cutecom-devel
+.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>
diff -ruN /usr/ports/devel/legoctl/distinfo roboctl/distinfo
--- /usr/ports/devel/legoctl/distinfo	2007-09-06 19:30:46.000000000 -0500
+++ roboctl/distinfo	2008-07-19 11:02:37.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (legoctl-0.2.tar.gz) = dcd405458eec542e0d7770ffe2b89f7d
-SHA256 (legoctl-0.2.tar.gz) = 5d3a775b3988cbcc1793cdcf22eb94afee7a55865e37bc9d9a086c78f674a5e0
-SIZE (legoctl-0.2.tar.gz) = 15678
+MD5 (roboctl-0.3.1.tar.gz) = 682ae51a852df09736ac2c980b4bd290
+SHA256 (roboctl-0.3.1.tar.gz) = 947b6cee290d787f49e84c54343c2fa38805f6270a698454615a631418e9a6f4
+SIZE (roboctl-0.3.1.tar.gz) = 183023
diff -ruN /usr/ports/devel/legoctl/pkg-descr roboctl/pkg-descr
--- /usr/ports/devel/legoctl/pkg-descr	2007-09-06 19:30:46.000000000 -0500
+++ roboctl/pkg-descr	2008-07-22 10:37:22.000000000 -0500
@@ -1,3 +1,6 @@
-Lego robot communication and control utility.
+Roboctl is a library and tool suite for communicating with Lego and Vex
+robots from Unix systems.  It allows users to upload programs and other
+data to the controller, examine various robot states such as battery level,
+firmware version, etc., and control the robot remotely from a Unix workstation.
 
 WWW:	http://personalpages.tds.net/~jwbacon/Ports
diff -ruN /usr/ports/devel/legoctl/pkg-plist roboctl/pkg-plist
--- /usr/ports/devel/legoctl/pkg-plist	1969-12-31 18:00:00.000000000 -0600
+++ roboctl/pkg-plist	2008-05-04 20:45:55.000000000 -0500
@@ -0,0 +1,12 @@
+bin/legoctl
+bin/vexctl
+bin/nxtremote
+include/roboctl/rct_machdep.h
+include/roboctl/rct_nxt.h
+include/roboctl/rct_nxt_output.h
+include/roboctl/rct_protos.h
+include/roboctl/rct_rcx.h
+include/roboctl/roboctl.h
+include/roboctl/rct_pic.h
+lib/libroboctl.a
+@dirrm include/roboctl


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807221546.m6MFkrhK073056>