Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 2009 09:07:58 +0100
From:      Troels Kofoed Jacobsen <tkjacobsen@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Wrap binary in scrip to set some variables
Message-ID:  <6a3173850911270007x6cf321boeddfe2377ae5d429@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3173850911270007x6cf321boeddfe2377ae5d429>