1 | # $Id: Portfile 61377 2009-12-09 23:32:32Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name swftools |
---|
5 | version 0.9.0 |
---|
6 | revision 2 |
---|
7 | categories graphics |
---|
8 | maintainers nomaintainer |
---|
9 | description SWF manipulation and generation tools |
---|
10 | long_description ${description} |
---|
11 | |
---|
12 | platforms darwin |
---|
13 | |
---|
14 | homepage http://www.swftools.org |
---|
15 | master_sites ${homepage} |
---|
16 | |
---|
17 | checksums md5 946e7c692301a332745d29140bc74e55 \ |
---|
18 | sha1 4860edc9f05e3cc5a55779aac3787cb0150146a8 \ |
---|
19 | rmd160 e87430e1ac52d317dd762cbe024f391bf352b120 |
---|
20 | |
---|
21 | depends_lib port:jpeg port:openjpeg port:freetype port:lame \ |
---|
22 | path:include/gif_lib.h:giflib port:python26 |
---|
23 | |
---|
24 | patchfiles patch-Makefile.common.in.diff |
---|
25 | |
---|
26 | configure.python ${prefix}/bin/python2.6 |
---|
27 | # Make sure to not link against OpenGL libs from the mesa port, in case it |
---|
28 | # is installed |
---|
29 | configure.env ac_cv_lib_GL_glBegin=no |
---|
30 | |
---|
31 | post-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 | |
---|