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

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

updated to honer porthier.7 for man page location.

Bug: 1067
Reviewed by: blb@…

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