/
Portfile
49 lines (40 loc) · 1.57 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# -*- 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
PortSystem 1.0
PortGroup perl5 1.0
perl5.branches 5.26 5.28
perl5.setup Gearman-Client-Async 0.94
revision 4
categories perl net
license {Artistic-1 GPL}
platforms darwin
maintainers nomaintainer
description Asynchronous client module for Gearman for Danga::Socket applications
long_description ${description}
checksums md5 71dcadfb434202dbdf4798f2ec93b32f \
sha1 10e41caf43a81f14bd8f61a2750b6687c8d60e8a
if {${perl5.major} != ""} {
depends_build-append \
port:p${perl5.major}-gearman-server
depends_lib-append \
port:p${perl5.major}-danga-socket \
port:p${perl5.major}-gearman
# make sure tests use the right perl
post-patch {
reinplace "s|^#!.*|#!${perl5.bin}|" \
${worksrcpath}/t/allinone.t \
${worksrcpath}/t/async.t \
${worksrcpath}/t/err1.t \
${worksrcpath}/t/err2.t \
${worksrcpath}/t/err3.t \
${worksrcpath}/t/err4.t \
${worksrcpath}/t/err5.t \
${worksrcpath}/t/err6.t \
${worksrcpath}/t/err7.t \
${worksrcpath}/t/err8.t \
${worksrcpath}/t/lib/testlib.pl \
${worksrcpath}/t/tests-needed.t \
${worksrcpath}/t/uniq.t \
${worksrcpath}/t/worker.pl
}
supported_archs noarch
}