summaryrefslogtreecommitdiff
path: root/lang/nqc
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-14 22:08:36 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-14 22:08:36 +0000
commit58407c048ab3f15266e705daec3c1d180bd3316a (patch)
tree6428599a74a1533958464d6ae25e1d37ee774cfc /lang/nqc
parentChange 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/Makefile19
-rw-r--r--lang/nqc/distinfo1
-rw-r--r--lang/nqc/files/patch-aa38
-rw-r--r--lang/nqc/pkg-comment1
-rw-r--r--lang/nqc/pkg-descr15
-rw-r--r--lang/nqc/pkg-plist1
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