# -*- 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 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.24 perl5.setup MogileFS-Server 2.72 license {Artistic-1 GPL} categories perl net sysutils platforms darwin maintainers nomaintainer description MogileFS (distributed filesystem) server long_description ${description} homepage https://code.google.com/p/mogilefs/ # http://www.mogilefs.org, http://danga.com/mogilefs/, https://github.com/mogilefs/ checksums rmd160 1a274d9262b3b1c38df694d522ca7e6d3c07caa0 \ sha256 d7d5a45d50127bf62e451c6d86eb247103b01c46662898ae4e18daa08be8e0bf if {${perl5.major} != ""} { # # requires one of # p5-dbd-sqlite # p5-dbd-mysql # p5-dbd-pg # depending on database to be used # add variants to select ? # default configuration is MySQL depends_lib-append \ port:p${perl5.major}-danga-socket \ port:p${perl5.major}-dbd-mysql \ port:p${perl5.major}-dbi \ port:p${perl5.major}-io-aio \ port:p${perl5.major}-mogilefs-client \ port:p${perl5.major}-mogilefs-utils \ port:p${perl5.major}-net-netmask \ port:p${perl5.major}-perlbal \ port:p${perl5.major}-sys-syscall post-patch { eval reinplace "s|/usr/bin/perl|${perl5.bin}|" [glob ${worksrcpath}/mog*] } # add perl5.bindir to PATH so mogadm can be found test.env-append PATH="$env(PATH):${perl5.bindir}" # test configuration for MySQL, see TESTING for others test.args-append MOGTEST_DBUSER=test \ MOGTEST_DBNAME=test \ MOGTEST_DBTYPE=MySQL }