Definition of ぶんだけ
-
(suf) in proportion to; just as much as
飲む分だけ豆をローストして、ミルで挽くんです。
We roast just enough beans for the amount we're going to drink, and grind them in the coffee mill.