Ticket #38803: Portfile

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