To install irssi using macports issue the command:
sudo port install irssi +perl
This will ensure that you get the necessary perl scripting support. Most people using irssi are going to want this.
Note that if you use scriptassist to help you load irssi scripts then you will want some extra perl stuff:
sudo port install p5-libwww-perl