summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-03-15 04:52:57 +0000
committerjlam <jlam@pkgsrc.org>2006-03-15 04:52:57 +0000
commitd4ca1fbd6b8f2cb2ad339bdada333ca6ba8b4f90 (patch)
treee15455ee1f9bdcc7e275ab9d52a03a282e0faa1e /mk/scripts
parent40f615ca9fa751b6abee66a89006a767ecb9a9e2 (diff)
downloadpkgsrc-d4ca1fbd6b8f2cb2ad339bdada333ca6ba8b4f90.tar.gz
Rototill of how the various template parts of the INSTALL and DEINSTALL
scripts are generated. The various scriptlets in pkgsrc/mk/install are now full templates that can be combined to form the INSTALL and DEINSTALL scripts. All of the templates have either leading or trailing blank lines so that when they are concatentated, the full INSTALL and DEINSTALL scripts will still be easy to read. All of the generated template sources for the INSTALL and DEINSTALL scripts are now stored in ${WRKDIR}/.pkginstall for local consistency and have been renamed so that they are not dot-files. The "data" for the +* scriptlets are now generated in a separate step and instead of being appended to the unpacked scriptlet are now appended to the INSTALL script itself. When the scriptlets are unpacked, the corresponding data lines for each scriptlet are pulled out of the INSTALL script and put into the unpacked scriptlets. This makes it easy to append more data lines during the install phase without needing to regenerate the INSTALL script.
Diffstat (limited to 'mk/scripts')
0 files changed, 0 insertions, 0 deletions