source: trunk/dports/graphics/ImageMagick/Portfile @ 4262

Last change on this file since 4262 was 4262, checked in by rshaw, 16 years ago

Added mpeg variant for mpeg2 support based on the mpeg2vidcodec port.

Submitted by: rshaw@
Approved by: blb@…

  • Property svn:eol-style set to native
File size: 3.0 KB
Line 
1# $Id: Portfile,v 1.5 2003/12/21 19:05:34 rshaw Exp $
2
3PortSystem 1.0
4name                    ImageMagick
5version                 5.5.6
6revision                2
7categories              graphics
8maintainers             blb@pobox.com
9
10description             Collection of tools and libraries to manipulate images in many formats
11
12long_description        A robust collection of tools and libraries to read, write, \
13                        and manipulate an image in many image formats (over 87 major \
14                        formats) including popular formats like TIFF, JPEG, PNG, PDF, \
15                        PhotoCD, and GIF.  With ImageMagick you can create images \
16                        dynamically, making it suitable for Web applications. You \
17                        can also resize, rotate, sharpen, color reduce, or add special \
18                        effects to an image or image sequence and save your completed \
19                        work in the same or differing image format. Image processing \
20                        operations are available from the command line, as well as \
21                        through C, C++, Perl, or Java programming interfaces.
22
23homepage                http://www.imagemagick.org/
24
25master_sites            ftp://ftp.imagemagick.org/pub/${name}/
26use_bzip2               yes
27checksums               md5 eac3971f0704059dcf2f7a5737b7daa8
28
29configure.args          --enable-shared=yes --enable-static=no \
30                        --without-perl --without-magick-plus-plus \
31                        --with-x --with-dps --with-ttf \
32                        --without-bzlib --without-fpx --without-gslib \
33                        --without-jbig --without-jpeg --without-jp2 \
34                        --without-lcms --without-png --without-tiff \
35                        --without-wmf --without-xml --without-zlib \
36                        --mandir=${prefix}/share/man
37                   
38configure.env           CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
39depends_build           lib:libX11.6:XFree86
40
41default_variants        +bzlib +jpeg +png +tiff +zlib
42variant bzlib   {
43        depends_lib-append      lib:libbz2:bzip2
44        configure.args-delete   --without-bzlib
45        configure.args-append   --with-bzlib
46}
47variant gs      {
48        depends_lib-append      lib:libgs:ghostscript
49        configure.args-delete   --without-gslib
50        configure.args-append   --with-gslib
51}
52variant jpeg    {
53        depends_lib-append      lib:libjpeg:jpeg
54        configure.args-delete   --without-jpeg
55        configure.args-append   --with-jpeg
56}
57variant lcms    {
58        depends_lib-append      lib:liblcms:lcms
59        configure.args-delete   --without-lcms
60        configure.args-append   --with-lcms
61}
62variant png     {
63        depends_lib-append      lib:libpng:libpng
64        configure.args-delete   --without-png
65        configure.args-append   --with-png
66}
67variant tiff    {
68        depends_lib-append      lib:libtiff:tiff
69        configure.args-delete   --without-tiff
70        configure.args-append   --with-tiff
71}
72variant wmf     {
73        depends_lib-append      lib:libwmf:libwmf
74        configure.args-delete   --without-wmf
75        configure.args-append   --with-wmf
76}
77variant xml     {
78        depends_lib-append      lib:libxml:libxml2
79        configure.args-delete   --without-xml
80        configure.args-append   --with-xml
81}
82variant zlib    {
83        depends_lib-append      lib:libz:zlib
84        configure.args-delete   --without-zlib
85        configure.args-append   --with-zlib
86}
87variant mpeg    {
88        depends_lib-append      bin:mpeg2encode:mpeg2vidcodec \
89                                bin:mpeg2decode:mpeg2vidcodec
90}
Note: See TracBrowser for help on using the repository browser.