pyrus/Pyrus_Developer — pull request #11 by fpoirotte (2011-12-29 20:35:24+00:00)
Title: Substitute @PACKAGE_NAME@ with the package's name.

This is done in source files and in the phar stub in the same way as for
``@PACKAGE_VERSION@``.

This makes it possible to reuse the same set of files across several projects
(eg. one stub for many different projects or modules of the same project)
while still having the correct (specific) output file for each project,
because the substitution occurs at package creation time (during the make
or package command).

This is independent from the ``__PACKAGE__`` variable used by templates
during creation of the package's layout which results in some hard-coded
name in several files (eg. name of the autoloader in stub.php).