source: trunk/dports/perl/p5-mogilefs-utils/Portfile

Last change on this file was 154393, checked in by mojca@…, 11 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
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: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         MogileFS-Utils 2.29
9categories          perl net sysutils
10license             {Artistic-1 GPL}
11platforms           darwin
12maintainers         nomaintainer
13
14description         MogileFS tools
15long_description    This package contains two tools to manage MogileFS: mogadm (MogileFS \
16                    admin tool) and mogtool (inject/extract data to/from a MogileFS \
17                    installation)
18
19homepage            http://www.danga.com/mogilefs
20
21checksums           rmd160  fbc67bca4dc0481f8ab28574fba51f0e04f15a23 \
22                    sha256  56eacdbd9d3ff2c09300d94d5ca7cf740590e5422435625e4c8a2e7c6059d9cd
23
24if {${perl5.major} != ""} {
25    depends_lib-append \
26                    port:p${perl5.major}-mogilefs-client \
27                    port:p${perl5.major}-libwww-perl
28
29    post-patch {
30            eval reinplace "s|/usr/bin/perl|${perl5.bin}|" [glob ${worksrcpath}/mog*]
31    }
32
33    supported_archs noarch
34}
Note: See TracBrowser for help on using the repository browser.