2009-08-26 02:42:53 +00:00
|
|
|
PortSystem 1.0
|
2012-08-22 07:13:06 +00:00
|
|
|
|
2009-08-26 02:42:53 +00:00
|
|
|
name swftools
|
2012-05-21 14:33:31 +00:00
|
|
|
version 0.9.2
|
2021-11-12 18:08:03 -05:00
|
|
|
revision 6
|
2009-08-26 02:42:53 +00:00
|
|
|
categories graphics
|
2012-08-22 07:13:06 +00:00
|
|
|
license GPL-3+
|
2009-08-26 02:42:53 +00:00
|
|
|
maintainers nomaintainer
|
|
|
|
|
description SWF manipulation and generation tools
|
|
|
|
|
long_description ${description}
|
|
|
|
|
|
|
|
|
|
platforms darwin
|
|
|
|
|
|
|
|
|
|
homepage http://www.swftools.org
|
|
|
|
|
master_sites ${homepage}
|
|
|
|
|
|
2012-05-21 14:33:31 +00:00
|
|
|
checksums rmd160 6743d847b3adcc2724799dc6a75c1359ff5a0377 \
|
2017-10-21 00:54:43 -05:00
|
|
|
sha256 bf6891bfc6bf535a1a99a485478f7896ebacbe3bbf545ba551298080a26f01f1 \
|
|
|
|
|
size 2675939
|
2009-08-26 02:42:53 +00:00
|
|
|
|
2021-01-18 19:53:50 +11:00
|
|
|
depends_lib path:include/turbojpeg.h:libjpeg-turbo port:openjpeg15 port:freetype port:lame \
|
2014-10-21 04:36:33 +00:00
|
|
|
port:giflib port:python27
|
2009-08-26 02:42:53 +00:00
|
|
|
|
2012-01-03 02:25:03 +00:00
|
|
|
patchfiles patch-Makefile.common.in.diff \
|
|
|
|
|
patch-configure.diff \
|
2014-08-07 01:18:52 +00:00
|
|
|
patch-lib-jpeg.c.diff \
|
2017-10-21 00:07:16 -05:00
|
|
|
patch-lib-pdf-xpdf-GlobalParams.cc.diff \
|
2012-08-22 07:13:06 +00:00
|
|
|
patch-setup.py.diff \
|
|
|
|
|
patch-src_gif2swf.c.diff
|
2009-08-26 02:42:53 +00:00
|
|
|
|
2014-10-21 04:36:33 +00:00
|
|
|
configure.python ${prefix}/bin/python2.7
|
2010-10-03 22:02:30 +00:00
|
|
|
|
2009-08-26 03:08:52 +00:00
|
|
|
# Make sure to not link against OpenGL libs from the mesa port, in case it
|
|
|
|
|
# is installed
|
|
|
|
|
configure.env ac_cv_lib_GL_glBegin=no
|
2010-10-03 22:02:30 +00:00
|
|
|
|
|
|
|
|
# Make sure LAME gets found during configure step
|
|
|
|
|
configure.cppflags-append -I${prefix}/include/lame
|
|
|
|
|
|
2010-10-03 21:46:37 +00:00
|
|
|
configure.universal_args-delete --disable-dependency-tracking
|
2009-08-26 03:08:52 +00:00
|
|
|
|
|
|
|
|
post-destroot {
|
|
|
|
|
set swfs_dir ${prefix}/share/swftools/swfs
|
|
|
|
|
delete ${destroot}${swfs_dir}/default_loader.swf \
|
|
|
|
|
${destroot}${swfs_dir}/default_viewer.swf
|
|
|
|
|
ln -s ${swfs_dir}/tessel_loader.swf ${destroot}${swfs_dir}/default_loader.swf
|
|
|
|
|
ln -s ${swfs_dir}/simple_viewer.swf ${destroot}${swfs_dir}/default_viewer.swf
|
|
|
|
|
}
|