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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name rayshade |
---|
7 | version 4.0.6 |
---|
8 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
9 | categories graphics |
---|
10 | platforms darwin |
---|
11 | maintainers nomaintainer |
---|
12 | |
---|
13 | homepage http://www-graphics.stanford.edu/~cek/rayshade/rayshade.html |
---|
14 | master_sites ftp://graphics.stanford.edu/pub/rayshade/ |
---|
15 | extract.suffix .tar.Z |
---|
16 | distname ${name}.${version} |
---|
17 | |
---|
18 | checksums rmd160 a19bf35aa3f66de9ce406a1a98cf7edbde60f356 \ |
---|
19 | sha256 62dec71e56b69f01c31bf6e4afcc876016a34726afd0a58d1cda32a1f0e1a842 |
---|
20 | |
---|
21 | worksrcdir ${name}.${branch} |
---|
22 | |
---|
23 | depends_build port:bison |
---|
24 | |
---|
25 | patchfiles patch-configure.diff |
---|
26 | |
---|
27 | configure { |
---|
28 | system -W ${worksrcpath} "PATH=$env(PATH) PREFIX=${prefix} ./Configure << EOF |
---|
29 | |
---|
30 | |
---|
31 | none |
---|
32 | /usr/lib/libSystem.dylib |
---|
33 | none |
---|
34 | ${configure.cc} |
---|
35 | ${configure.optflags} |
---|
36 | ${configure.cppflags} |
---|
37 | ${configure.ldflags} |
---|
38 | none |
---|
39 | random |
---|
40 | y |
---|
41 | |
---|
42 | |
---|
43 | ${prefix}/bin |
---|
44 | |
---|
45 | bison |
---|
46 | |
---|
47 | y |
---|
48 | EOF" |
---|
49 | } |
---|
50 | |
---|
51 | build.target default |
---|
52 | |
---|
53 | # not tested |
---|
54 | universal_variant no |
---|
55 | use_parallel_build no |
---|