summaryrefslogtreecommitdiff
path: root/sysutils/p5-MogileFS-Network/Makefile
blob: 11d387da5a684c007bde9c172fc1d81f07c85c8e (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
# Created by: Mikolaj Golub <trociny@FreeBSD.org>
# $FreeBSD$

PORTNAME=	MogileFS-Network
PORTVERSION=	0.06
CATEGORIES=	sysutils net perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:HACHI
PKGNAMEPREFIX=	p5-

MAINTAINER=	trociny@FreeBSD.org
COMMENT=	Network awareness and extensions for p5-MogileFS-Server

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

BUILD_DEPENDS=	p5-Net-Netmask>=0:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
		p5-Net-Patricia>=0:${PORTSDIR}/net/p5-Net-Patricia \
		p5-MogileFS-Server>=2.50:${PORTSDIR}/sysutils/p5-MogileFS-Server
RUN_DEPENDS:=	${BUILD_DEPENDS}

USES=		perl5
USE_PERL5=	configure

MAN3=		MogileFS::Network.3 \
		MogileFS::ReplicationPolicy::MultipleNetworks.3

NO_STAGE=	yes
.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e '/NAME/ s|MogileFS-Network|MogileFS::Network|' \
	    ${WRKSRC}/Makefile.PL

.include <bsd.port.post.mk>