[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Running a script during port build
- Subject: Running a script during port build
- From: conrads at cox.net (Conrad J. Sabatier)
- Date: Fri Nov 26 16:24:51 2004
On Fri, 26 Nov 2004 18:18:34 -0600, "Conrad J. Sabatier"
> I'm trying to get a script to run as part of an update to
> games/gnuchess (to optionally create the opening book for gnuchess).
> I've placed the script under games/gnuchess/scripts as "pre-install",
> but it never seems to be getting invoked.
> Has the use of a scripts dir for ports been deprecated? If not, what
> does it take to get the script to actually be run?
I should add that the reason I'm asking is because I tried simply
invoking the script from the Makefile, but none of the port environment
variables (such as $DISTDIR, etc.) are exported to the script.
What's the preferred way of doing this?
Conrad J. Sabatier <conrads_(_at_)_cox_(_dot_)_net> -- "In Unix veritas"
Visit your host, monkey.org