Lines 2-31
Link Here
|
2 |
# $FreeBSD: head/sysutils/moosefs-client/Makefile 327772 2013-09-20 23:05:58Z bapt $ |
2 |
# $FreeBSD: head/sysutils/moosefs-client/Makefile 327772 2013-09-20 23:05:58Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= moosefs |
4 |
PORTNAME= moosefs |
5 |
PORTVERSION= #set via include |
5 |
DISTVERSION= 1.6.27-5 |
6 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
|
|
7 |
MASTER_SITES= http://www.moosefs.org/tl_files/mfscode/ \ |
8 |
http://ports.quxingwen.com/dist/mfs/ |
7 |
PKGNAMESUFFIX= -client |
9 |
PKGNAMESUFFIX= -client |
8 |
NO_STAGE= yes |
10 |
DISTNAME= mfs-${DISTVERSION} |
9 |
.include "${.CURDIR}/../moosefs-master/bsd.port.moosefs.mk" |
|
|
10 |
|
11 |
|
11 |
MAINTAINER= chifeng@gmail.com |
12 |
MAINTAINER= chifeng@gmail.com |
12 |
COMMENT= Moosefs client tools |
13 |
COMMENT= Moosefs client tools |
13 |
|
14 |
|
14 |
DISTINFO_FILE= ${.CURDIR}/../moosefs-master/distinfo |
15 |
LICENSE= GPLv3 |
|
|
16 |
|
17 |
WRKSRC= ${WRKDIR}/mfs-1.6.27 |
18 |
GNU_CONFIGURE= yes |
15 |
|
19 |
|
16 |
USES= fuse pkgconfig |
20 |
USES= fuse pkgconfig |
17 |
|
21 |
|
18 |
MAN1= mfstools.1 mfscheckfile.1 mfsdirinfo.1 mfsfileinfo.1 \ |
22 |
CONFIGURE_ARGS= --disable-mfsmaster \ |
19 |
mfsfilerepair.1 mfsgetgoal.1 mfsgettrashtime.1 \ |
|
|
20 |
mfsrgetgoal.1 mfsrgettrashtime.1 mfsrsetgoal.1 \ |
21 |
mfsrsettrashtime.1 mfssetgoal.1 mfssettrashtime.1 \ |
22 |
mfsgeteattr.1 mfsseteattr.1 mfsdeleattr.1 \ |
23 |
mfsappendchunks.1 mfsmakesnapshot.1 |
24 |
MAN8= mfsmount.8 |
25 |
|
26 |
CONFIGURE_ARGS= --with-default-user=${MFSUSER} \ |
27 |
--with-default-group=${MFSGROUP} \ |
28 |
--disable-mfsmaster \ |
29 |
--disable-mfschunkserver \ |
23 |
--disable-mfschunkserver \ |
30 |
--disable-mfscgi \ |
24 |
--disable-mfscgi \ |
31 |
--disable-mfscgiserv \ |
25 |
--disable-mfscgiserv \ |
Lines 35-43
Link Here
|
35 |
${REINPLACE_CMD} -e 's;^general_mans;#general_mans;g' ${WRKSRC}/doc/Makefile.am \ |
29 |
${REINPLACE_CMD} -e 's;^general_mans;#general_mans;g' ${WRKSRC}/doc/Makefile.am \ |
36 |
${WRKSRC}/doc/Makefile.in |
30 |
${WRKSRC}/doc/Makefile.in |
37 |
|
31 |
|
38 |
post-install: |
|
|
39 |
@if [ ! -f ${PREFIX}/etc/mfsmount.cfg ]; then \ |
40 |
${CP} ${PREFIX}/etc/mfs/mfsmount.cfg.dist ${PREFIX}/etc/mfsmount.cfg ; \ |
41 |
fi |
42 |
|
43 |
.include <bsd.port.mk> |
32 |
.include <bsd.port.mk> |