source: trunk/dports/graphics/swftools/Portfile

Last change on this file was 127103, checked in by larryv@…, 3 years ago

swftools: Switch from Python 2.6 to 2.7

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 127103 2014-10-21 04:36:33Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                swftools
6version             0.9.2
7revision            3
8categories          graphics
9license             GPL-3+
10maintainers         nomaintainer
11description         SWF manipulation and generation tools
12long_description    ${description}
13
14platforms           darwin
15
16homepage            http://www.swftools.org
17master_sites        ${homepage}
18
19checksums           rmd160  6743d847b3adcc2724799dc6a75c1359ff5a0377 \
20                    sha256  bf6891bfc6bf535a1a99a485478f7896ebacbe3bbf545ba551298080a26f01f1
21
22depends_lib         port:jpeg port:openjpeg15 port:freetype port:lame \
23                    port:giflib port:python27
24
25patchfiles          patch-Makefile.common.in.diff \
26                    patch-configure.diff \
27                    patch-lib-jpeg.c.diff \
28                    patch-setup.py.diff \
29                    patch-src_gif2swf.c.diff
30
31configure.python    ${prefix}/bin/python2.7
32
33# Make sure to not link against OpenGL libs from the mesa port, in case it
34# is installed
35configure.env       ac_cv_lib_GL_glBegin=no
36
37# Make sure LAME gets found during configure step
38configure.cppflags-append   -I${prefix}/include/lame
39
40configure.universal_args-delete --disable-dependency-tracking
41
42post-destroot {
43   set swfs_dir ${prefix}/share/swftools/swfs
44   delete ${destroot}${swfs_dir}/default_loader.swf \
45      ${destroot}${swfs_dir}/default_viewer.swf
46   ln -s ${swfs_dir}/tessel_loader.swf ${destroot}${swfs_dir}/default_loader.swf
47   ln -s ${swfs_dir}/simple_viewer.swf ${destroot}${swfs_dir}/default_viewer.swf
48}
Note: See TracBrowser for help on using the repository browser.