Make the build of LiteBSD more self-contained:
* Use our own lorder script instead of relying on what is on the OS.
* /usr/bin/env perl everywhere, for FreeBSD (which installs to /usr/local/bin).
* ufstool needs a FreeBSD-specific #ifdef in one spot.
* pcc was using bison as its yacc, switch pcc to byacc like everything else.
* Some tweaks to the ncurses build process.
Prep for upcoming changes to the ports infrastructure.
To ease maintenance, all packages will now be placed in a single ports/packages directory.
Add a clean-work target, which does what clean-package used to do.
Target clean-package now simply removes the final package from the ports/packages
Add a clean-all target that runs clean-work and clean-package.
Update to the latest OpenBSD rm(1), preserving the original -P behavior (from FreeBSD).
Most notably, you can now issue 'rm -r directory/' with the trailing slash and it'll get
removed (instead of rm issuing a warning and not removing it).
When writing a port, if you define a PROG variable you get the automagic install from the
If you do not define a PROG variable you must write your own do-install routine.
The ports infrastructure now understands this construct.
Remove the install routine from ports. opkg(1) doesn't work with it, meaning that it can't
be used to remove it later on a running machine. That seems bad.
While here, create a do-install routine for when we manually install files. It's just a
synonym for beforeinstall but it looks nicer and is likely easier to remember what it does
and why to use it.