[22274] trunk/dports/sysutils/file/Portfile

Daniel J. Luke dluke at geeklair.net
Sun Feb 25 11:10:45 PST 2007


On Feb 25, 2007, at 2:02 PM, Blair Zajac wrote:
> post-destroot {
>         if {[variant_isset normal_install_names]} {
>                 system "cd ${destroot}${prefix}/bin && for f in g*;  
> do ln -s \$f `echo \$f | sed -e 's/^g//'`; done"
>         }
> }
>
> variant normal_install_names {
> }
>
> A number of other packages use this name naming convention.

IIRC this could be done without the variaint_isset conditional by  
just adding a post-destroot inside of the normal_install_names variant.

... but it's been a while since I played with it or looked at the  
code that would implement this.

--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20070225/6d2f4c72/PGP.bin


More information about the macports-dev mailing list