Rework the checking out of the doc, src, and ports trees a bit to make it more manageable. - Add some helper variables (CVS_{SRC,DOC,PORTS}ARGS) to be used when   using CVS to checkout files.  We stick release tags in these helper   variables if they are defined and then use only one cvs command instead   of two cvs commands with an .ifdef to choose between them. - rm the old src/doc/ports directories as separate commands from the   CVS comands so that the rm commands don't need to be duplicated. - Simplify the DOMINIMALDOCPORTS case by overriding RELEASEPORTSMODULE to   be ${MINIMALDOCPORTS} thus removing yet another nearly-duplicate cvs   command in an .ifdef. - Add support for grabbing src/ and doc/ from external directories   specified via EXTSRCDIR and EXTDOCDIR instead of from CVS.  The same   is not done for ports/ quite yet as the DOMINIMALDOCPORTS case is a   bit tricky.
Rework the checking out of the doc, src, and ports trees a bit to make it
more manageable.
- Add some helper variables (CVS_{SRC,DOC,PORTS}ARGS) to be used when
  using CVS to checkout files.  We stick release tags in these helper
  variables if they are defined and then use only one cvs command instead
  of two cvs commands with an .ifdef to choose between them.
- rm the old src/doc/ports directories as separate commands from the
  CVS comands so that the rm commands don't need to be duplicated.
- Simplify the DOMINIMALDOCPORTS case by overriding RELEASEPORTSMODULE to
  be ${MINIMALDOCPORTS} thus removing yet another nearly-duplicate cvs
  command in an .ifdef.
- Add support for grabbing src/ and doc/ from external directories
  specified via EXTSRCDIR and EXTDOCDIR instead of from CVS.  The same
  is not done for ports/ quite yet as the DOMINIMALDOCPORTS case is a
  bit tricky.

The rerelease target scripts have not been changed to use the helper
variables yet, so there is still some room for improvement.

Submitted by:	kuriyama (4)

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase