Portfile syntax: copying complete directory
Jochen Küpper
kuepper.jochen at googlemail.com
Wed Jun 18 06:54:06 PDT 2008
Hi,
so in Ticket #15049 I proposed a patch to install man-files and info-
pages of gcc-4.3 in a custom location in order to get them installed
without conflicts between different gcc version.
However, the line
file copy ${destroot}${prefix}/share/man/man7/* ${destroot}${prefix}/
share/gcc43/man/man7
now causes the destroot to fail, as reported in Ticket #15666.
What would be the correct Portfile code instead of the following?
# move manuals to gcc43-specific directory
xinstall -m 755 -d ${destroot}${prefix}/share/gcc43/man/man7
xinstall -m 755 -d ${destroot}${prefix}/share/gcc43/info
file copy ${destroot}${prefix}/share/man/man7/* ${destroot}${prefix}/
share/gcc43/man/man7
file copy ${destroot}${prefix}/share/info/* ${destroot}${prefix}/share/
gcc43/info
Greetings,
Jochen
--
Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de
Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D
Sex, drugs and rock-n-roll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080618/18ab98c5/attachment.sig
More information about the macports-users
mailing list