Building packages with haikuporter

Ah ok that makes sense…

In the copied haikuporter.config file the tip is different:

Tip:
Put this into your ~/config/settings/profile (a text file that you
have to create if it doesn’t exist already):to search for a string in all
recipes with “inrecipe {searchstring}” and build a package with
“hp {packagename}” (adjust your /path/to/your/haikuports/):

function inrecipe { grep -n $1 /path/to/your/haikuports/*/*/*.recipe; }
export -f inrecipe

alias hp="haikuporter -S -j2 --get-dependencies --no-source-packages"

=================================================================<<<
what does the function inrecipe do?
Do I need to adjust the path to haikuports?
do I need to uncomment it too?