hp48cc is a C-like compiler that translates the input code into the HP48 RPL
language. The language recognized by the compiler is only a small subset of
the C language, with some non-standard extensions, but powerful enough to
write complex programs simply.
Note that GCC-based `devel/hp48xgcc' port exists which directly translates C
code into Saturn (HP48 processor) opcodes.
===> The following configuration options are available for hp48cc-1.3_2:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
*: Fix WWW with broken anchors-as-comments
Case 1: WWW=https://example.com#foo
Here #foo is not part of the value of WWW since # introduces a comment
whether it's part of a word or not (quoting the word+# makes no
difference either). # needs to be escaped:
WWW=https://example.com\#foo
Case 2: WWW=https://example.com #foo
This is probably fallout from when WWW was moved from pkg-descr to
Makefile.
The anchors still exist on the actual websites too or I removed them.
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 )
Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build
it brings bison as a run dependency in case it is set the following way:
USES= bison:run
it brings bison both as a run and build dependency in case it the set the
following way:
USES= bison:both
While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
- Spell the RPL programming language (RPL meaning ROM-based procedural
language following Hewlett-Packard or, alternatively, Reverse Polish
LISP) correctly as RPL. While majority of HP calculators use Reverse
Polish notation (RPN) for computations, it is not correct abbreviation
for their programming language
- Augment mirror list to offload author's personal website to SunSITE
mirrors available
Feature safe: yes
- Reformat description text to fit more nicely into standard 80-character
terminal screen
- Add a note about GCC-based `devel/hp48xgcc' port which might be better
alternative to this port
- Resurrect once dead port
- Take maintainership
- Respect CC and CLAGS
- Clean up Makefile
- Utilize EXAMPLESDIR macro
- Pet some portlint(1)
- Fix a WWW line, remove attribution