# -*- 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: Portfile 136736 2015-05-25 12:27:31Z raimue@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 PortGroup github 1.0 github.setup mozilla mozjpeg 3.1 v conflicts jpeg libjpeg-turbo categories graphics platforms darwin supported_archs i386 x86_64 license BSD maintainers raimue openmaintainer description A fork of libjpeg-turbo by Mozilla with 'jpgcrush' feature long_description \ mozjpeg is a fork of libjpeg-turbo with jpgcrush functionality to reduce \ the size of JPEG images. The 'jpgcrush' feature finds the progressive \ coding configuration which uses the fewest bits. This most frequently \ reduces file size by 2-10%, but those are not hard limits. Significantly \ greater reductions have been observed. checksums rmd160 8884d2934aa0fb1e7b193c4506068f4a27106e68 \ sha256 20262eafd43746a120d968533f7ced62ae6ad8d3119d861774419ec13c640d40 depends_build port:pkgconfig \ port:nasm use_autoreconf yes autoreconf.args-append --force configure.args --disable-silent-rules \ --with-jpeg8 \ NASM=${prefix}/bin/nasm array set merger_host { x86_64 x86_64-apple-darwin i386 i686-apple-darwin } if {![variant_isset universal] && [info exists merger_host(${configure.build_arch})]} { configure.args-append --host=$merger_host(${configure.build_arch}) } test.run yes destroot.args docdir='${prefix}/share/doc/${name}' \ exampledir='${prefix}/share/doc/${name}'