Etymology
Today it means: In the manner of a cupboard. Full definition →
From cupboard + -wise.
Etymology from Wiktionary, CC BY-SA 4.0.