diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-08-14 22:08:36 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-08-14 22:08:36 +0000 |
commit | 58407c048ab3f15266e705daec3c1d180bd3316a (patch) | |
tree | 6428599a74a1533958464d6ae25e1d37ee774cfc /lang/nqc | |
parent | Change PKGNAME: netscape-communicator-linux-4.61 (diff) |
Import of nqc,
A compiler for a simple language for programming the LEGO RCX or CyberMaster
controllers. The language itself is "Not Quite C" and includes preprocessor
and control structures very similar to the C language, but with restrictions
imposed by the limitations of the RCX hardware/firmware itself.
Besides compiling, nqc also provides functions for downloading the RCX
firmware as well as uploading programs to and downloading from the RCX.
PR: 13081
Submitted by: Kelly Yancey <kbyanc@posi.net>
Notes
Notes:
svn path=/head/; revision=20726
Diffstat (limited to 'lang/nqc')
-rw-r--r-- | lang/nqc/Makefile | 19 | ||||
-rw-r--r-- | lang/nqc/distinfo | 1 | ||||
-rw-r--r-- | lang/nqc/files/patch-aa | 38 | ||||
-rw-r--r-- | lang/nqc/pkg-comment | 1 | ||||
-rw-r--r-- | lang/nqc/pkg-descr | 15 | ||||
-rw-r--r-- | lang/nqc/pkg-plist | 1 |
6 files changed, 75 insertions, 0 deletions
diff --git a/lang/nqc/Makefile b/lang/nqc/Makefile new file mode 100644 index 000000000000..9aec0892e977 --- /dev/null +++ b/lang/nqc/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: nqc +# Version required: 1.3 +# Date created: 11 Aug 1999 +# Whom: kbyanc +# +# $Id$ +# + +DISTNAME= nqc_src_1_3 +PKGNAME= nqc-1.3 +CATEGORIES= lang +MASTER_SITES= http://www.enteract.com/~dbaum/lego/nqc/release/ + +MAINTAINER= kbyanc@posi.net + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/nqc ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/lang/nqc/distinfo b/lang/nqc/distinfo new file mode 100644 index 000000000000..ea58338de55c --- /dev/null +++ b/lang/nqc/distinfo @@ -0,0 +1 @@ +MD5 (nqc_src_1_3.tar.gz) = abc72729822f013c01f41e8c64e33088 diff --git a/lang/nqc/files/patch-aa b/lang/nqc/files/patch-aa new file mode 100644 index 000000000000..b698527c3cd3 --- /dev/null +++ b/lang/nqc/files/patch-aa @@ -0,0 +1,38 @@ +--- Makefile.orig Wed Apr 28 09:27:59 1999 ++++ Makefile Sat Aug 14 14:56:31 1999 +@@ -27,14 +27,14 @@ + # + # Pick your C++ compiler. + # +-CC=g++ ++#CC=g++ + #CC=gcc + + # + # Pick your YACC processor + # +-YACC = bison -y +-# YACC = yacc ++#YACC = bison -y ++YACC = yacc + + # + # Define the FLEX processor +@@ -46,7 +46,7 @@ + # Use this to define the default device driver name + # for serial port connections. + # +-DEFAULT_SERIAL_NAME = "/dev/ttyS0" ++DEFAULT_SERIAL_NAME = "/dev/cuaa0" + + + # other commands +@@ -58,7 +58,7 @@ + + IFLAGS=-Iplatform -Ircxlib -Inqc + WFLAGS=-Wall -Wstrict-prototypes -Wmissing-prototypes +-CFLAGS = -O6 -pipe $(IFLAGS) $(WFLAGS) -DDEFAULT_SERIAL_NAME='$(DEFAULT_SERIAL_NAME)' ++CFLAGS += $(IFLAGS) $(WFLAGS) -DDEFAULT_SERIAL_NAME='$(DEFAULT_SERIAL_NAME)' + + OBJ = $(NQCOBJ) $(RCXOBJ) $(POBJ) + diff --git a/lang/nqc/pkg-comment b/lang/nqc/pkg-comment new file mode 100644 index 000000000000..90dccf63d95e --- /dev/null +++ b/lang/nqc/pkg-comment @@ -0,0 +1 @@ +A compiler for writing programs for the Lego RCX diff --git a/lang/nqc/pkg-descr b/lang/nqc/pkg-descr new file mode 100644 index 000000000000..ef7d6db252b0 --- /dev/null +++ b/lang/nqc/pkg-descr @@ -0,0 +1,15 @@ +A compiler for a simple language for programming the LEGO RCX or CyberMaster +controllers. The language itself is "Not Quite C" and includes preprocessor +and control structures very similar to the C language, but with restrictions +imposed by the limitations of the RCX hardware/firmware itself. + +Besides compiling, nqc also provides functions for downloading the RCX +firmware as well as uploading programs to and downloading from the RCX. + +The NQC home page includes documentation for the language itself including +examples. + +WWW: http://www.enteract.com/~dbaum/lego/nqc/ + + -Kelly + kbyanc@posi.net diff --git a/lang/nqc/pkg-plist b/lang/nqc/pkg-plist new file mode 100644 index 000000000000..f910881b25f9 --- /dev/null +++ b/lang/nqc/pkg-plist @@ -0,0 +1 @@ +bin/nqc |