Ticket #13567: Portfile

File Portfile, 1.5 KB (added by jcupitt (John Cupitt), 17 years ago)
Line 
1# $Id: Portfile 31172 2007-11-17 17:01:12Z css@macports.org $
2PortSystem 1.0
3name            vips
4version         7.12.5
5description     VIPS is an image processing library.
6long_description        VIPS is an image processing library. It's good for \
7                        large images and for colour.
8maintainers     nomaintainer
9categories      graphics
10platforms       darwin
11homepage        http://www.vips.ecs.soton.ac.uk/
12master_sites    ${homepage}/vips-7.12/
13checksums       md5 94bee1c2770cd7da63faa3c75f8c381f \
14                sha1 be7d81e453e847dbd8df2e4d7f3ea28caa70b008
15
16depends_build   port:swig \
17                bin:perl:perl5.8 \
18                port:p5-xml-parser
19
20depends_lib     lib:libfftw3:fftw-3 \
21                lib:libglib.2:glib2 \
22                lib:libjpeg:jpeg \
23                lib:libpng:libpng \
24                lib:libtiff:tiff \
25                port:ImageMagick \
26                port:OpenEXR \
27                port:lcms \
28                port:libexif \
29                port:liboil \
30                port:libxml2
31
32configure.args  --mandir=${prefix}/share/man
33configure.cppflags-append "-L${prefix}/lib"
34configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"
35 
36post-destroot   {
37        # we have to remove these because of clashes on non-case-sensitive FSes.
38        file delete -force ${destroot}${prefix}/share/doc/vips/html/man/IM_RINT.3.html
39        file delete -force ${destroot}${prefix}/share/doc/vips/html/man/IM_MIN.3.html
40        file delete -force ${destroot}${prefix}/share/doc/vips/html/man/IM_MAX.3.html
41
42        file delete -force ${destroot}${prefix}/share/man/man3/IM_RINT.3
43        file delete -force ${destroot}${prefix}/share/man/man3/IM_MIN.3
44        file delete -force ${destroot}${prefix}/share/man/man3/IM_MAX.3
45}