Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2010 01:47:02 +0000
From:      "b. f." <bf1783@googlemail.com>
To:        Thomas Rasmussen <thomas@gibfest.dk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Manually registering dependencies for ports
Message-ID:  <AANLkTimDO1vuh1E-k1ARTu2DIwuPge_YQs3QH6hDWhKN@mail.gmail.com>
In-Reply-To: <AANLkTikR1U2fGDRB1aOEv412AjMwabVdh-klCLlMCtiL@mail.gmail.com>
References:  <AANLkTikR1U2fGDRB1aOEv412AjMwabVdh-klCLlMCtiL@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/7/10, b. f. <bf1783@googlemail.com> wrote:

> You can keep the script in a location other than
> /usr/ports/devel/bar/pkg-req, just by using something like:
>
> .if${.CURDIR:M*/usr/ports/devel/bar*}
> PKGREQ="insert full path to script here"
> .endif
>
> in /etc/make.conf, because /usr/ports/Mk/bsd.port.mk will use PKGREQ
> along with the -r flag in the "do-package" target.

That is, in the "do-package" target when making a package, and in the
"fake-pkg" target when installing a port.

b.



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