Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 1999 14:18:56 -0400 (EDT)
From:      kbyanc@posi.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13081: new port: lang/nqc
Message-ID:  <199908111818.OAA21654@kronos.alcnet.com>

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

>Number:         13081
>Category:       ports
>Synopsis:       new port: lang/nqc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 11 11:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kelly Yancey
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:
>Description:

  Attached is a port of Dave Baum's Not Quite C package for programming the
LEGO RCX and CyberMaster units.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/lang/nqc
#	/usr/ports/lang/nqc/Makefile
#	/usr/ports/lang/nqc/patches
#	/usr/ports/lang/nqc/patches/patch-aa
#	/usr/ports/lang/nqc/files
#	/usr/ports/lang/nqc/files/md5
#	/usr/ports/lang/nqc/pkg
#	/usr/ports/lang/nqc/pkg/PLIST
#	/usr/ports/lang/nqc/pkg/COMMENT
#	/usr/ports/lang/nqc/pkg/DESCR
#
echo c - /usr/ports/lang/nqc
mkdir -p /usr/ports/lang/nqc > /dev/null 2>&1
echo x - /usr/ports/lang/nqc/Makefile
sed 's/^X//' >/usr/ports/lang/nqc/Makefile << 'END-of-/usr/ports/lang/nqc/Makefile'
X# New ports collection makefile for:	nqc
X# Version required:    1.3
X# Date created:        11 Aug 1999
X# Whom:                kbyanc
X#
X# $Id$
X#
X
XDISTNAME=	nqc_src_1_3
XPKGNAME=	nqc-1.3
XCATEGORIES=	lang
XMASTER_SITES=	http://www.enteract.com/~dbaum/lego/nqc/release/
X
XMAINTAINER=	kbyanc@posi.net
X
X.include <bsd.port.mk>
END-of-/usr/ports/lang/nqc/Makefile
echo c - /usr/ports/lang/nqc/patches
mkdir -p /usr/ports/lang/nqc/patches > /dev/null 2>&1
echo x - /usr/ports/lang/nqc/patches/patch-aa
sed 's/^X//' >/usr/ports/lang/nqc/patches/patch-aa << 'END-of-/usr/ports/lang/nqc/patches/patch-aa'
X--- Makefile.orig	Wed Apr 28 12:27:59 1999
X+++ Makefile	Wed Aug 11 13:44:24 1999
X@@ -27,14 +27,14 @@
X #
X # Pick your C++ compiler. 
X #
X-CC=g++
X-#CC=gcc
X+#CC=g++
X+CC=gcc
X 
X #
X # Pick your YACC processor
X #
X-YACC = bison -y
X-# YACC = yacc
X+#YACC = bison -y
X+YACC = yacc
X 
X #
X # Define the FLEX processor
X@@ -46,7 +46,7 @@
X # Use this to define the default device driver name
X # for serial port connections.
X #
X-DEFAULT_SERIAL_NAME = "/dev/ttyS0"
X+DEFAULT_SERIAL_NAME = "/dev/cuaa0"
X 
X 
X # other commands
X@@ -149,3 +149,10 @@
X 	$(MKDIR) default
X 
X 
X+#
X+# Added by Kelly Yancey <kbyanc@posi.net> to facilitate inclusion in the
X+# FreeBSD ports collection...don't use this manually unless you define
X+# PREFIX yourself! (you probably won't want it installing nqc into your /bin)
X+#
X+install: all
X+	install -s bin/nqc $(PREFIX)/bin
END-of-/usr/ports/lang/nqc/patches/patch-aa
echo c - /usr/ports/lang/nqc/files
mkdir -p /usr/ports/lang/nqc/files > /dev/null 2>&1
echo x - /usr/ports/lang/nqc/files/md5
sed 's/^X//' >/usr/ports/lang/nqc/files/md5 << 'END-of-/usr/ports/lang/nqc/files/md5'
XMD5 (nqc_src_1_3.tar.gz) = abc72729822f013c01f41e8c64e33088
END-of-/usr/ports/lang/nqc/files/md5
echo c - /usr/ports/lang/nqc/pkg
mkdir -p /usr/ports/lang/nqc/pkg > /dev/null 2>&1
echo x - /usr/ports/lang/nqc/pkg/PLIST
sed 's/^X//' >/usr/ports/lang/nqc/pkg/PLIST << 'END-of-/usr/ports/lang/nqc/pkg/PLIST'
Xbin/nqc
X
END-of-/usr/ports/lang/nqc/pkg/PLIST
echo x - /usr/ports/lang/nqc/pkg/COMMENT
sed 's/^X//' >/usr/ports/lang/nqc/pkg/COMMENT << 'END-of-/usr/ports/lang/nqc/pkg/COMMENT'
XA compiler for writing programs for the Lego RCX
END-of-/usr/ports/lang/nqc/pkg/COMMENT
echo x - /usr/ports/lang/nqc/pkg/DESCR
sed 's/^X//' >/usr/ports/lang/nqc/pkg/DESCR << 'END-of-/usr/ports/lang/nqc/pkg/DESCR'
XA compiler for a simple language for programming the LEGO RCX or CyberMaster
Xcontrollers. The language itself is "Not Quite C" and includes preprocessor
Xand control structures very similar to the C language, but with restrictions
Ximposed by the limitations of the RCX hardware/firmware itself.
X
XBesides compiling, nqc also provides functions for downloading the RCX
Xfirmware as well as uploading programs to and downloading from the RCX.
X
XWWW: http://www.enteract.com/~dbaum/lego/nqc/
X
XThe NCQ home page includes documentation for the language itself including
Xexamples.
X
X  -Kelly
X   kbyanc@posi.net
END-of-/usr/ports/lang/nqc/pkg/DESCR
exit


>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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