mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name swftools
|
|
version 0.9.2
|
|
revision 6
|
|
categories graphics
|
|
license GPL-3+
|
|
maintainers nomaintainer
|
|
description SWF manipulation and generation tools
|
|
long_description ${description}
|
|
|
|
platforms darwin
|
|
|
|
homepage http://www.swftools.org
|
|
master_sites ${homepage}
|
|
|
|
checksums rmd160 6743d847b3adcc2724799dc6a75c1359ff5a0377 \
|
|
sha256 bf6891bfc6bf535a1a99a485478f7896ebacbe3bbf545ba551298080a26f01f1 \
|
|
size 2675939
|
|
|
|
depends_lib path:include/turbojpeg.h:libjpeg-turbo port:openjpeg15 port:freetype port:lame \
|
|
port:giflib port:python27
|
|
|
|
patchfiles patch-Makefile.common.in.diff \
|
|
patch-configure.diff \
|
|
patch-lib-jpeg.c.diff \
|
|
patch-lib-pdf-xpdf-GlobalParams.cc.diff \
|
|
patch-setup.py.diff \
|
|
patch-src_gif2swf.c.diff
|
|
|
|
configure.python ${prefix}/bin/python2.7
|
|
|
|
# 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
|
|
|
|
# Make sure LAME gets found during configure step
|
|
configure.cppflags-append -I${prefix}/include/lame
|
|
|
|
configure.universal_args-delete --disable-dependency-tracking
|
|
|
|
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
|
|
}
|