* Fully convert to pkginstall framework by properly using OWN_DIRS*
to manage required directories during package installation and
deinstallation.
* Drop the need to explicitly set PREFIX in the package Makefiles. We
now install into ${LOCALBASE} like all other pkgsrc packages and use
symlinks and file copies to put the right files into ${IMDICTDIR}.
* Change default dependency relationship in sj3-lib/buildlink3.mk to a
build dependency since it the package only installs headers and a
static library archive.
* Move some important setup instructions from the DESCR file to MESSAGE
files so that the admin will see them at package installation.
* Rewrite the sj3 rc.d script so that all necessary directories are
created before the daemon is started.
* Miscellaneous touch ups to the DESCR and MESSAGE files.
Bump the PKGREVISIONs on the sj3* packages.
INSTALL/DEINSTALL script creation within pkgsrc.
If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts. If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:
INSTALL_SRC= ${PKGDIR}/INSTALL
DEINSTALL_SRC= # emtpy
As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts. By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).
In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework. The only public variables relating to the templates are:
INSTALL_SRC INSTALL_TEMPLATE
DEINSTALL_SRC DEINSTALL_TEMPLATE
HEADER_TEMPLATE
The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.