# -*- 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 136735 2015-05-25 12:25:15Z raimue@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 name libjpeg-turbo conflicts jpeg mozjpeg version 1.4.0 revision 1 categories graphics platforms darwin license BSD maintainers nomaintainer description SIMD-accelerated libjpeg-compatible JPEG codec \ library long_description libjpeg-turbo is a JPEG image codec that uses SIMD \ instructions (MMX, SSE2, NEON) to accelerate \ baseline JPEG compression and decompression on \ x86, x86-64, and ARM systems. On such systems, \ libjpeg-turbo is generally 2-4x as fast as \ libjpeg, all else being equal. On other types of \ systems, libjpeg-turbo can still outperform \ libjpeg by a significant amount, by virtue of its \ highly-optimized Huffman coding routines. In many \ cases, the performance of libjpeg-turbo rivals \ that of proprietary high-speed JPEG codecs. homepage http://www.${name}.org master_sites sourceforge:project/${name}/${version} checksums rmd160 25234e8f0ee7d1f5fa77868e161ecdf66091b064 \ sha256 d93ad8546b510244f863b39b4c0da0fa4c0d53a77b61a8a3880f258c232bbbee depends_build 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 ppc64 powerpc64-apple-darwin ppc powerpc-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}' livecheck.distname ${name}/files