Ticket #23715: Portfile

File Portfile, 1.3 KB (added by fracai, 15 years ago)
Line 
1# $Id: Portfile 61377 2009-12-09 23:32:32Z jmr@macports.org $
2
3PortSystem          1.0
4name                swftools
5version             0.9.0
6revision            2
7categories          graphics
8maintainers         nomaintainer
9description         SWF manipulation and generation tools
10long_description    ${description}
11
12platforms           darwin
13
14homepage            http://www.swftools.org
15master_sites        ${homepage}
16
17checksums           md5     946e7c692301a332745d29140bc74e55 \
18                    sha1    4860edc9f05e3cc5a55779aac3787cb0150146a8 \
19                    rmd160  e87430e1ac52d317dd762cbe024f391bf352b120
20
21depends_lib         port:jpeg port:openjpeg port:freetype port:lame \
22                    path:include/gif_lib.h:giflib port:python26
23
24patchfiles          patch-Makefile.common.in.diff
25
26configure.python    ${prefix}/bin/python2.6
27# Make sure to not link against OpenGL libs from the mesa port, in case it
28# is installed
29configure.env       ac_cv_lib_GL_glBegin=no
30
31post-destroot {
32   set swfs_dir ${prefix}/share/swftools/swfs
33   delete ${destroot}${swfs_dir}/default_loader.swf \
34      ${destroot}${swfs_dir}/default_viewer.swf
35   ln -s ${swfs_dir}/tessel_loader.swf ${destroot}${swfs_dir}/default_loader.swf
36   ln -s ${swfs_dir}/simple_viewer.swf ${destroot}${swfs_dir}/default_viewer.swf
37}
38