aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/p5-MogileFS-Server/Makefile
blob: 938b7c2e24ba5c58dd82bc51a3105cc72de6ad2f (plain) (blame)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# New ports collection makefile for:    p5-mogilefs-server
# Date created:     2007-04-28
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   mogilefs-server
PORTVERSION=    2.45
CATEGORIES= sysutils perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= ../../authors/id/D/DO/DORMANDO
PKGNAMEPREFIX=  p5-
DISTNAME=   MogileFS-Server-${PORTVERSION}

MAINTAINER= perl@FreeBSD.org
COMMENT=    MogileFS (distributed filesystem) server

RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/IO/AIO.pm:${PORTSDIR}/devel/p5-IO-AIO \
        ${SITE_PERL}/${PERL_ARCH}/Sys/Syslog.pm:${PORTSDIR}/sysutils/p5-Sys-Syslog \
        ${SITE_PERL}/Danga/Socket.pm:${PORTSDIR}/devel/p5-Danga-Socket \
        ${SITE_PERL}/Gearman/Client/Async.pm:${PORTSDIR}/devel/p5-Gearman-Client-Async \
        ${SITE_PERL}/Gearman/Server.pm:${PORTSDIR}/devel/p5-Gearman-Server \
        ${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
        ${SITE_PERL}/Perlbal.pm:${PORTSDIR}/www/perlbal \
        ${SITE_PERL}/Sys/Syscall.pm:${PORTSDIR}/devel/p5-Sys-Syscall \
        ${SITE_PERL}/MogileFS/Client.pm:${PORTSDIR}/sysutils/p5-MogileFS-Client \
        p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql

PERL_CONFIGURE= yes

MAN1=       mogautomount.1 \
        mogilefsd.1 \
        mogstored.1
MAN3=       MogileFS::DevFID.3 \
        MogileFS::FID.3 \
        MogileFS::IOStatWatcher.3 \
        MogileFS::Overview.3 \
        MogileFS::ReplicationPolicy.3 \
        MogileFS::ReplicationPolicy::MultipleHosts.3 \
        MogileFS::ReplicationPolicy::Union.3 \
        MogileFS::Server.3 \
        MogileFS::Store.3 \
        MogileFS::Store::MySQL.3 \
        MogileFS::Store::Postgres.3 \
        MogileFS::Store::SQLite.3 \
        MogileFS::Worker::Query.3 \
        MogileFS::Worker::Replicate.3 \
        mogdeps::Danga::Socket.3 \
        mogdeps::Perlbal.3 \
        mogdeps::Perlbal::Plugin::Cgilike.3 \
        mogdeps::Perlbal::Plugin::Include.3 \
        mogdeps::Perlbal::Plugin::MaxContentLength.3 \
        mogdeps::Perlbal::Plugin::Palimg.3 \
        mogdeps::Perlbal::Plugin::Redirect.3 \
        mogdeps::Perlbal::Test.3 \
        mogdeps::Perlbal::Util.3 \
        mogdeps::Sys::Syscall.3

post-install:
.ifndef(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>