summaryrefslogtreecommitdiff
path: root/sysutils/moosefs-chunkserver/Makefile
blob: 3abc2b99cbae57082f2ac7e2c99949af8539f620 (plain)
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
# Created by: Chifeng Qu <chifeng@gmail.com>
# $FreeBSD$

PORTNAME=	moosefs
DISTVERSION=	1.6.27-5
CATEGORIES=	sysutils
MASTER_SITES=	http://www.moosefs.org/tl_files/mfscode/ \
		http://ports.quxingwen.com/dist/mfs/
PKGNAMESUFFIX=	-chunkserver
DISTNAME=	mfs-${DISTVERSION}

MAINTAINER=	chifeng@gmail.com
COMMENT=	Storing file data and synchronizing it among themselves

LICENSE=	GPLv3

WRKSRC=		${WRKDIR}/mfs-1.6.27
USERS=		mfs
GROUPS=		mfs
GNU_CONFIGURE=	yes

USE_RC_SUBR=	mfschunkserver
SUB_FILES=	pkg-message

CONFIGURE_ARGS=	--localstatedir=/var \
		--enable-mfschunkserver \
		--disable-mfsmaster \
		--disable-mfsmount \
		--disable-mfscgi \
		--disable-mfscgiserv \
		--bindir=${PREFIX}/sbin \
		--with-default-user=mfs \
		--with-default-group=mfs

post-patch:
	${REINPLACE_CMD} -e 's;^general_mans;#general_mans;g' \
		${WRKSRC}/doc/Makefile.am ${WRKSRC}/doc/Makefile.in

.include <bsd.port.mk>