Now you can manually install giflib (if you want to be able to export GIF files) which is too old in macport:
Download giflib sources at this url:
https://sourceforge.net/projects/giflib/
and put the file in your home directory
tar -jxvf giflib-5.1.2.tar.bz2
cd giflib-5.1.2
./configure
make
sudo make install