Here’s how to compile swftools (a great set of CLI tools to create and manage Flash SWF files) in Leopard with MacPorts:
sudo port install jpeg giflib freetype t1lib lame LDFLAGS="-L/opt/local/lib" CPPFLAGS="-I/opt/local/include -I/opt/local/include/lame" ./configure --prefix=/opt/local make && sudo make install
With it, you get things like pdf2swf
, which are pretty useful for converting MindNode PDF files to Flash: