You can get the FreeLing software from its homepage. In this page you can find the development files of FreeLing for Galician and European Portuguese.
After downloading the files, you will need to extract and copy them into the language FreeLing directories (usually /usr/local/share/FreeLing/ followed by gl or pt, or /usr/share/FreeLing if it was installed from a .deb package).
You can download the Galician PoS-tagger files here.
You can download the European Portuguese PoS-tagger files here.
You can download the Brazilian Portuguese PoS-tagger files here. Since this is not an official version, you must copy the peb.cfg file into the FreeLing config directory (/usr/share/FreeLing/config or /usr/local/share/FreeLing/config).
To compile the dictionary, you have to remove maco.db and create a new one by executing:
DICTIONARY: Error 22 while opening database /usr/share/FreeLing/pt/maco.db
# indexdict maco.db < dicc.src
in each language directory (gl, pt and peb).