Wrap binary in scrip to set some variables

Troels Kofoed Jacobsen tkjacobsen at gmail.com
Fri Nov 27 08:31:31 UTC 2009


Hi all

I'm maintaining a port (graphics/ipe) and the newest version needs a
variable set. The way I would solve this is to rename the binary (and
move it out of PATH), create a script instead with the original and
let the script set the variable.

Is this the way to go or should I rather do something else?

If yes, how would I do so. Do a 'mv' in the Makefile and put the
script in files/?

Best Regards

Troels Kofoed Jacobsen


More information about the freebsd-ports mailing list