source: trunk/dports/graphics/libjpeg-turbo/Portfile @ 138188

Last change on this file since 138188 was 136735, checked in by raimue@…, 5 years ago

graphics/libjpeg-turbo:
nasm is not linked against, it is only used at compile time

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- 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
2# $Id: Portfile 136735 2015-05-25 12:25:15Z raimue@macports.org $
3PortSystem          1.0
4PortGroup           muniversal 1.0
5
6name                libjpeg-turbo
7conflicts           jpeg mozjpeg
8
9version             1.4.0
10revision            1
11categories          graphics
12platforms           darwin
13license             BSD
14maintainers         nomaintainer
15
16description         SIMD-accelerated libjpeg-compatible JPEG codec \
17                    library
18long_description    libjpeg-turbo is a JPEG image codec that uses SIMD \
19                    instructions (MMX, SSE2, NEON) to accelerate \
20                    baseline JPEG compression and decompression on \
21                    x86, x86-64, and ARM systems. On such systems, \
22                    libjpeg-turbo is generally 2-4x as fast as \
23                    libjpeg, all else being equal. On other types of \
24                    systems, libjpeg-turbo can still outperform \
25                    libjpeg by a significant amount, by virtue of its \
26                    highly-optimized Huffman coding routines. In many \
27                    cases, the performance of libjpeg-turbo rivals \
28                    that of proprietary high-speed JPEG codecs.
29homepage            http://www.${name}.org
30
31master_sites        sourceforge:project/${name}/${version}
32checksums           rmd160  25234e8f0ee7d1f5fa77868e161ecdf66091b064 \
33                    sha256  d93ad8546b510244f863b39b4c0da0fa4c0d53a77b61a8a3880f258c232bbbee
34
35depends_build       port:nasm
36
37use_autoreconf          yes
38autoreconf.args-append  --force
39
40configure.args      --disable-silent-rules \
41                    --with-jpeg8 \
42                    NASM=${prefix}/bin/nasm
43
44array set merger_host {
45    x86_64  x86_64-apple-darwin
46    i386    i686-apple-darwin
47    ppc64   powerpc64-apple-darwin
48    ppc     powerpc-apple-darwin
49}
50if {![variant_isset universal]
51        && [info exists merger_host(${configure.build_arch})]} {
52    configure.args-append --host=$merger_host(${configure.build_arch})
53}
54
55test.run            yes
56
57destroot.args       docdir='${prefix}/share/doc/${name}' \
58                    exampledir='${prefix}/share/doc/${name}'
59
60livecheck.distname  ${name}/files
Note: See TracBrowser for help on using the repository browser.