On Fri, Jun 24, 2011 at 01:21:16AM -0400, Brad wrote:
> Here is a port of swftools 0.9.1.
No need for all the patches, the following bits will do the trick:
FAKE_FLAGS= mandir=${WRKINST}${PREFIX}/man \
prefix=${WRKINST}${PREFIX}
post-install:
ln -fs simple_viewer.swf
${PREFIX}/share/swftools/swfs/default_viewer.swf
ln -fs tessel_loader.swf
${PREFIX}/share/swftools/swfs/default_loader.swf
strictly, this should use ${TRUEPREFIX}/share/swftools/swfs/... for
the sources, but the symlinks are simpler in the post-install above.
Also, it's GPLv2+, not GPLv2, according to some of the sources files
I looked at.
make regress fails (there's no check target), so it neede NO_REGRESS,
too.
The manpage for swfrender is empty, so I'll just @comment it in the
PLIST:
$ ls -l src/swfrender.1
-rw-r--r-- 1 kili wsrc 0 Aug 5 2009 src/swfrender.1
Otherwise, it looks ok portswise. I'll import it in a few days
unless someone still has objections.
Ciao,
Kili