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
+========================================================+
| *---------------- [EMAIL PROTECTED] ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to