Ticket #55757: Portfile.4

File Portfile.4, 1.1 KB (added by dsteck, 7 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
3PortSystem          1.0
4PortGroup           perl5 1.0
5
6perl5.branches      5.24 5.26
7perl5.setup         OpenCL 1.01
8
9platforms           darwin
10maintainers         nomaintainer
11license             {Artistic-1 GPL}
12
13description         OpenCL (Perl bindings for OpenCL)
14
15long_description    ${description}
16
17master_sites        http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
18
19checksums           size 89187 \
20                    rmd160 335afe817b7a532e1b25748b4b951ac383297607 \
21                    sha256 d9cb31683f7f6b5198210311ac798ab4678110988ceb9561ff8dc261e3d5123f
22
23if {${perl5.major} != ""} {
24    depends_lib-append \
25                    port:p${perl5.major}-async-interrupt \
26                    port:p${perl5.major}-common-sense
27
28  platform darwin {
29    patchfiles      patch-src-Makefile.PL-framework.diff
30  }
31
32    patchfiles \
33                    patch-src-Makefile.PL-choice.diff \
34                    patch-src-default.h.diff
35}
36
37