1 | # $Id: Portfile,v 1.1 2004/10/21 10:24:43 pguyot Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name camlimages |
---|
5 | version 2.2 |
---|
6 | categories devel graphics |
---|
7 | maintainers anil@recoil.org |
---|
8 | description Objective Caml interface to image manipulation functions. |
---|
9 | long_description Camlimages provides basic functions for image processing \ |
---|
10 | and loading/saving various image file formats, an \ |
---|
11 | interface to display images, and a Freetype interface \ |
---|
12 | to render Truetype fonts. |
---|
13 | homepage http://pauillac.inria.fr/camlimages/ |
---|
14 | configure.env LDFLAGS="-L${prefix}/lib" CFLAGS="-I${prefix}/include" \ |
---|
15 | DPORT_CAMLDIR="${prefix}/lib/ocaml" |
---|
16 | patchfiles patch-configure.diff |
---|
17 | platforms darwin |
---|
18 | master_sites ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/ |
---|
19 | extract.suffix .tgz |
---|
20 | build.target all opt |
---|
21 | checksums md5 d933eb58c7983f70b1a000fa01893aa4 |
---|
22 | depends_lib bin:camlp4:ocaml lib:libjpeg.62:jpeg \ |
---|
23 | lib:libtiff.3:tiff lib:libgif:libungif \ |
---|
24 | lib:libpng:libpng bin:gs:ghostscript |
---|
25 | |
---|
26 | variant lablgtk { |
---|
27 | configure.args-append --with-lablgtk="${prefix}/lib/ocaml/lablgtk" |
---|
28 | depends_lib bin:lablgtk:lablgtk |
---|
29 | } |
---|
30 | |
---|
31 | variant lablgl { |
---|
32 | configure.args-append --with-lablgl="${prefix}/lib/ocaml/lablgl" |
---|
33 | depends_lib bin:lablglut:lablgl |
---|
34 | } |
---|
35 | |
---|
36 | variant lablgtk2 { |
---|
37 | configure.args-append --with-lablgtk2="${prefix}/lib/ocaml/lablgtk2" |
---|
38 | depends_lib bin:lablgtk2:lablgtk2 bin:gdk-pixbuf-config:gdk-pixbuf |
---|
39 | } |
---|