[87972] trunk/dports/graphics

Ryan Schmidt ryandesign at macports.org
Wed Dec 14 22:28:55 PST 2011


On Dec 14, 2011, at 15:37, pvanek at macports.org wrote:

> Revision: 87972
>          http://trac.macports.org/changeset/87972
> Author:   pvanek at macports.org
> Date:     2011-12-14 13:37:42 -0800 (Wed, 14 Dec 2011)
> Log Message:
> -----------
> libraw: new port (initial revision)
> 
> Added Paths:
> -----------
>    trunk/dports/graphics/libraw/
>    trunk/dports/graphics/libraw/Portfile
> 
> Added: trunk/dports/graphics/libraw/Portfile
> ===================================================================
> --- trunk/dports/graphics/libraw/Portfile	                        (rev 0)
> +++ trunk/dports/graphics/libraw/Portfile	2011-12-14 21:37:42 UTC (rev 87972)
> @@ -0,0 +1,29 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id $
> +
> +PortSystem 1.0
> +
> +name             libraw
> +version          0.14.4
> +homepage         http://www.libraw.org/
> +description      library for RAW images manipulation
> +long_description      a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)
> +categories       graphics
> +platforms        darwin
> +license          GPL-2+
> +maintainers      pvanek openmaintainer
> +
> +master_sites     http://www.libraw.org/data/
> +distname         LibRaw-${version}
> +
> +checksums           sha1    885149e25e4afcc90bcaae316ff4aa60b3f8b9ea \
> +                    rmd160  8fc44d6a36b88145fb368817e136cbb4a33cd7d4
> +
> +depends_lib      port:jasper \
> +                 port:lcms2
> +
> +# this is probably mandatory to get jasper in the game... there is no --with-jasper-... at all
> +configure.env-append LDFLAGS=-L${prefix}/lib CPPFLAGS=-I${prefix}/include

Most likely unnecessary, since MacPorts automatically sets those values in LDFLAGS and CPPFLAGS for you, for all ports.


> +destroot.destdir prefix=${destroot}${prefix}





More information about the macports-dev mailing list