1 | # $Id: Portfile,v 1.1 2005/08/14 11:37:29 olegb Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name simage |
---|
5 | version 1.6.1 |
---|
6 | revision 1 |
---|
7 | description library for loading and saving images, sound and video |
---|
8 | long_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 | |
---|
13 | categories graphics devel |
---|
14 | homepage http://www.coin3d.org/lib/simage/ |
---|
15 | platforms darwin |
---|
16 | maintainers cssdev@mac.com |
---|
17 | master_sites http://ftp.coin3d.org/coin/src/all/ |
---|
18 | checksums md5 d4c836ab282388392a65cd0650f224c5 |
---|
19 | |
---|
20 | patchfiles patch-configure.diff |
---|
21 | |
---|
22 | depends_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 | |
---|
29 | use_configure yes |
---|
30 | configure.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. |
---|
40 | variant 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 | } |
---|