blob: 2965db06910e1b8371bb89d1182b22c0a54e4f17 (
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
|
# Created by: Chifeng Qu <chifeng@gmail.com>
# $FreeBSD$
PORTNAME= moosefs
PORTVERSION= #set via include
CATEGORIES= sysutils
PKGNAMESUFFIX= -client
NO_STAGE= yes
.include "${.CURDIR}/../moosefs-master/bsd.port.moosefs.mk"
MAINTAINER= chifeng@gmail.com
COMMENT= Moosefs client tools
DISTINFO_FILE= ${.CURDIR}/../moosefs-master/distinfo
USES= fuse pkgconfig
MAN1= mfstools.1 mfscheckfile.1 mfsdirinfo.1 mfsfileinfo.1 \
mfsfilerepair.1 mfsgetgoal.1 mfsgettrashtime.1 \
mfsrgetgoal.1 mfsrgettrashtime.1 mfsrsetgoal.1 \
mfsrsettrashtime.1 mfssetgoal.1 mfssettrashtime.1 \
mfsgeteattr.1 mfsseteattr.1 mfsdeleattr.1 \
mfsappendchunks.1 mfsmakesnapshot.1
MAN8= mfsmount.8
CONFIGURE_ARGS= --with-default-user=${MFSUSER} \
--with-default-group=${MFSGROUP} \
--disable-mfsmaster \
--disable-mfschunkserver \
--disable-mfscgi \
--disable-mfscgiserv \
--enable-mfsmount
post-patch:
${REINPLACE_CMD} -e 's;^general_mans;#general_mans;g' ${WRKSRC}/doc/Makefile.am \
${WRKSRC}/doc/Makefile.in
post-install:
@if [ ! -f ${PREFIX}/etc/mfsmount.cfg ]; then \
${CP} ${PREFIX}/etc/mfs/mfsmount.cfg.dist ${PREFIX}/etc/mfsmount.cfg ; \
fi
.include <bsd.port.mk>
|