aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-afuse/Makefile
blob: 35ecb399fecdb32919c49b747a09ced71695665a (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
# New ports collection makefile for:    afuse
# Date created:             03 March 2009
# Whom:                 Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
#

PORTNAME=   afuse
PORTVERSION=    0.2
CATEGORIES= sysutils
MASTER_SITES=   SF
PKGNAMEPREFIX=  fusefs-

MAINTAINER= avl@FreeBSD.org
COMMENT=    An automounting file system implemented in user-space using FUSE

RUN_DEPENDS=    ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
LIB_DEPENDS=    fuse.2:${PORTSDIR}/sysutils/fusefs-libs

MAKE_JOBS_SAFE= yes

GNU_CONFIGURE=  yes

PORTDOCS=   AUTHORS ChangeLog README
PLIST_FILES=    bin/${PORTNAME}

MAN1=       afuse.1

.if !defined(NOPORTDOCS)
SUB_FILES=  pkg-message
.endif

post-install:
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
    @${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>