Ticket #29916: Portfile.2

File Portfile.2, 994 bytes (added by rogerdpack@…, 13 years ago)

attempt to configure right

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$
3
4PortSystem          1.0
5
6name                libjpeg-turbo
7version             1.1.1
8platforms           darwin
9categories          graphics
10maintainers         nomaintainer
11conflicts           jpeg
12
13homepage            http://www.libjpeg-turbo.org/
14master_sites        sourceforge:project/libjpeg-turbo/${version}
15
16checksums           sha1    131cef514c34e0b3f6952000968796d5a87a59e9 \
17                    rmd160  d70979dabe05b8eb74cddaaf0ffbd4b9fbaba41a
18
19depends_lib         port:nasm
20
21livecheck.type      sourceforge
22livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
23
24
25configure.args  \
26    --host x86_64-apple-darwin NASM=/opt/local/bin/nasm
27
28configure.cflags-append "-isysroot /Developer/SDKs/MacOSX10.5.sdk    -mmacosx-version-min=10.5 -O3"
29configure.ldflags-append "-isysroot /Developer/SDKs/MacOSX10.5.sdk     -mmacosx-version-min=10.5"
30