There are a number of Māori Type Fonts that have been created that have macronised vowels [We use the macron above vowels to indicate a long vowel such as ē]. You can download these fonts and install them onto your computer to allow you to more easily add the macronised vowels to text in various programs you use.
Here is a list of websites that have information and downloads for Māori type fonts that have macrons;
Reddfish Māori Macron Fonts Page
Reddfish are a software development company based in Wellington and they have a range of useful Māori Typeface resources
Te Kete Ipurangi
New Zealand's Online Learning Centre is a bi-lingual website that has an explanation Māori macron use and resources.
New Zealand Māori Keyboard Definition
Microsoft's download reconfigures the US/ International keyboards supplied in New Zealand to support the macron characters used in the Māori language.
Karaitiana Taiuru
Karaitiana Taiuru is a pioneer of Māori Internet and Software technologies. This page on his website explains the use of macron fonts in Te Reo Māori and provides some valuable resources