Fiscal dispositions buying sailboat in Portugal

Hi I am French, I live in Morocco and I'm thinking of buying a sailboat in Portugal. Import duties being expensive in Morocco and ports being very few here in this country lead me to plan to leave the boat in a Portughese port. I'm wondering what are the fiscal dispositions in a case such as mine though. Does anybody have a hint to help me sort the matter out?

Best regards to all.

Lionel