swftools in Leopard 

Here’s how to compile swftools (a great set of tools to create and manage SWF files) in Leopard with :

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 files to :

Resources

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