Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (47 sloc) 2.22 KB
# -*- 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
PortSystem 1.0
PortGroup muniversal 1.0
name libjpeg-turbo
conflicts jpeg mozjpeg
version 1.5.0
categories graphics
platforms darwin
license BSD
maintainers {larryv @larryv}
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 md5 3fc5d9b6a8bce96161659ae7a9939257 \
rmd160 5ec39b43d6ab39864739ea4009a22c59cb5924cf \
sha256 9f397c31a67d2b00ee37597da25898b03eb282ccd87b135a50a69993b6a2035f
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}'
You can’t perform that action at this time.