Etymology
Today it means: So as to pretend. Full definition →
From pretending + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.