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

Last change on this file since 115225 was 115225, checked in by devans@…, 6 years ago

libjpeg-turbo: update to version 1.3.0.

  • 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 115225 2013-12-29 00:30:00Z devans@macports.org $
3PortSystem          1.0
4PortGroup           muniversal 1.0
5
6name                libjpeg-turbo
7version             1.3.0
8categories          graphics
9conflicts           jpeg
10platforms           darwin
11supported_archs     i386 x86_64
12maintainers         rmstonecipher openmaintainer
13description         libjpeg-turbo is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, \
14                    NEON) to accelerate baseline JPEG compression and decompression on x86, x86-64, \
15                    and ARM systems.
16long_description    ${description}  On such systems, libjpeg-turbo is generally 2-4x as fast as the \
17                    unmodified version of libjpeg, all else being equal.
18license             BSD
19homepage            http://www.${name}.org
20master_sites        sourceforge:project/${name}/${version}/
21
22checksums           rmd160  81e4d5e4af95f253c17e3ddaac94212e7eafef9e \
23                    sha256  2657008cfc08aadbaca065bd9f8964b8a2c0abd03e73da5b5f09c1216be31234
24
25depends_lib         port:nasm
26use_autoreconf      yes
27autoreconf.args     -fvi
28
29configure.args-append   --with-jpeg8 NASM=${prefix}/bin/nasm
30switch ${build_arch} {
31    i386 {
32        configure.args-append --host i686-apple-darwin
33    }
34    x86_64 {
35        configure.args-append --host x86_64-apple-darwin
36    }
37}
38
39post-destroot {
40    xinstall -d ${destroot}${prefix}/share/doc/${name}
41    move ${destroot}${prefix}/share/doc/example.c ${destroot}${prefix}/share/doc/${name}/
42    move ${destroot}${prefix}/share/doc/libjpeg.txt ${destroot}${prefix}/share/doc/${name}/
43    move ${destroot}${prefix}/share/doc/README ${destroot}${prefix}/share/doc/${name}/
44    move ${destroot}${prefix}/share/doc/README-turbo.txt ${destroot}${prefix}/share/doc/${name}/
45    move ${destroot}${prefix}/share/doc/structure.txt ${destroot}${prefix}/share/doc/${name}/
46    move ${destroot}${prefix}/share/doc/usage.txt ${destroot}${prefix}/share/doc/${name}/
47    move ${destroot}${prefix}/share/doc/wizard.txt ${destroot}${prefix}/share/doc/${name}/
48}
49livecheck.url   http://sourceforge.net/projects/libjpeg-turbo/files/
50livecheck.regex "${name}\/files\/(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.