Define roles in pear package for files.

Fixes a number of issues with the PEAR package where files
would be installed in the incorrect directories as the role type was
incorrect.

Fixes #2680
This commit is contained in:
mark_story 2012-03-14 21:15:16 -04:00
parent f1931e43ef
commit fe3d354b61

View file

@ -137,11 +137,17 @@
<package name="PHPUnit" channel="pear.phpunit.de" minimum_version="3.5.0" type="optional" />
</dependencies>
<dirroles key="bin">script</dirroles>
<dirroles key="Cake/Test">php</dirroles>
<dirroles key="Cake/Console/Templates/skel">php</dirroles>
<dirroles key="Cake/Console/Templates/default">php</dirroles>
<dirroles key="Cake/View">php</dirroles>
<release>
<install as="cake" name="bin/cake" />
<install as="cake.php" name="bin/cake.php" />
<install as="cake.bat" name="bin/cake.bat" />
</release>
<exceptions key="Cake/VERSION.txt">php</exceptions>
<exceptions key="Cake/LICENSE.txt">php</exceptions>
</d51pearpkg2>
</target>