Ticket #7573: Portfile

File Portfile, 1.5 KB (added by cssdev@…, 18 years ago)

Portfile patch updates simage revision

Line 
1# $Id: Portfile,v 1.1 2005/08/14 11:37:29 olegb Exp $
2
3PortSystem              1.0
4name                    simage
5version                 1.6.1
6revision                1
7description             library for loading and saving images, sound and video
8long_description        simage is a library capable of loading, manipulating \
9        and saving images, creating and saving movies (AVI and mpeg), and    \
10        loading audio. The simage library relies heavily on 3rd party        \
11        libraries to perform these tasks.
12
13categories              graphics devel
14homepage                http://www.coin3d.org/lib/simage/
15platforms               darwin
16maintainers             cssdev@mac.com
17master_sites            http://ftp.coin3d.org/coin/src/all/
18checksums               md5 d4c836ab282388392a65cd0650f224c5
19
20patchfiles              patch-configure.diff
21
22depends_lib             lib:libjpeg:jpeg \
23                        lib:libpng:libpng \
24                        lib:libsndfile:libsndfile \
25                        lib:libungif:libungif \
26                        lib:libtiff:tiff \
27                        lib:libz:zlib
28
29use_configure           yes
30configure.args          --disable-quicktime \
31                        --with-jpeg=${prefix} \
32                        --with-png=${prefix} \
33                        --with-libsndfile=${prefix} \
34                        --with-ungif=${prefix} \
35                        --with-tiff=${prefix} \
36                        --with-zlib=${prefix}
37
38# The QuickTime variant uses QuickTime for image loading, removing
39# the dependencies on additional image libraries.
40variant quicktime {
41        depends_lib-delete      lib:libjpeg:jpeg \
42                                lib:libpng:libpng \
43                                lib:libungif:libungif \
44                                lib:libtiff:tiff \
45                                lib:libz:zlib
46        configure.args-delete   --disable-quicktime \
47                                --with-jpeg=${prefix} \
48                                --with-png=${prefix} \
49                                --with-ungif=${prefix} \
50                                --with-tiff=${prefix} \
51                                --with-zlib=${prefix}
52        configure.args-append   --enable-quicktime
53}