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.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
lang/nqc: Fix build with Clang 6
nqc/nqc.cpp:1088:41: error: no matching literal operator for call to
'operator""__DATE__' with arguments of types 'const char *' and 'unsigned int',
and no matching literal operator template
fprintf(STDERR,"nqc version %s (built "__DATE__", " __TIME__")\n",
http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/nqc-3.1.r6.log
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).
Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.
Differential Revision: https://reviews.freebsd.org/D2209
lang/npc: Add <unistd.h> to fix on modern compilers.
While here:
* remove indefinite article from COMMENT
* make USE_DOS2UNIX unconditional (for all patches)
* make use of OSVERSION for FreeBSD only
* convert USE_GMAKE to USES format
Approved by: portmgr (bapt, implicit)
After nudging from the current maintainer, take over maintainership.
De pkg-comment.
Update to ver. 2.5.a5.
Add FreeBSD support for the USB IR Lego Tower.