Usually spelt "fornenst". Scots and NE England dialect word, I think. Dunno about Shakespeare - but it's in Joyce! Sense is usually "opposite" or "facing" as GUESTloan_stranger says. Pretty common still throughout the northern parts of Ireland.
Regards