diff options
author | jlam <jlam@pkgsrc.org> | 2005-01-23 21:57:38 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-01-23 21:57:38 +0000 |
commit | 80edb1deb8b9fae713c54df002efd8b27c6abf4e (patch) | |
tree | bc73c8683247146daae5cab1dcfbe4791e4a63b5 /mail/GNUMail | |
parent | bef57ca44ff12281042cb346fbe5f8c4311a66cb (diff) | |
download | pkgsrc-80edb1deb8b9fae713c54df002efd8b27c6abf4e.tar.gz |
Rearrange the register-pkg and post-install-fake-pkg code. All of
the meta-data files are generated and stored in ${PKG_DB_TMPDIR} by
the *-install-fake-pkg targets, and then all of the contents of that
directory are simply copied into ${PKG_DBDIR}/${PKGNAME} by register-pkg.
This is intended to make (DE)INSTALL scripts be more powerful.
Currently, they have no way to keep state on their own. Now, they
can keep state in the current working directory. When invoked by
pkg_add(1), the current working directory is ${PKG_DBDIR}/${PKGNAME},
so the state files are already stored in the correct place. When
invoked by bsd.pkg.mk, the current working directory is ${PKG_DB_TMPDIR},
and any state files generated by the (DE)INSTALL scripts are copied
into the correct place by the register-pkg target.
Diffstat (limited to 'mail/GNUMail')
0 files changed, 0 insertions, 0 deletions