swftools (in Leopard) 


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:

Resources:

  • fdviewer, a simple page-oriented viewer for wrapping around converted PDF files. Magic words: swfcombine fdviewer.swf '#1'=temp.swf -o out.swf