aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-mhddfs/Makefile
blob: 1e780ada022ff4f0753cb9dbffc8596ca97ae520 (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
# New ports collection makefile for:    fusefs-mhddfs
# Date created:     2009-06-25
# Whom:         Oleg Alexeenkov <proler@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   mhddfs
PORTVERSION=    0.1.22
CATEGORIES= sysutils
MASTER_SITES=   http://mhddfs.uvw.ru/downloads/
PKGNAMEPREFIX=  fusefs-
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= proler@gmail.com
COMMENT=    Multi HDD [FUSE] File System

BUILD_DEPENDS=  ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs
RUN_DEPENDS=    ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod

USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN1=       ${PORTNAME}.1
PLIST_FILES=    bin/${PORTNAME}
PORTDOCS=   README ChangeLog

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif

.include <bsd.port.mk>