aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-zip/Makefile
blob: 759ddc519f0c78d9101f077a869db2f7e0b4dfa7 (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
# $FreeBSD$

PORTNAME=   fuse-zip
PORTVERSION=    0.4.4
CATEGORIES= sysutils
MASTER_SITES=   https://bitbucket.org/agalanin/fuse-zip/downloads/

MAINTAINER= olevole@olevole.ru
COMMENT=    FUSE filesystem to mount ZIP archives with write support

LICENSE=    LGPL3

LIB_DEPENDS=    libzip.so:archivers/libzip
BUILD_DEPENDS=  libzip>=0.11.1:archivers/libzip

USES=       gmake fuse pkgconfig

PLIST_FILES=    bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS=   README.md changelog

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|make|$${MAKE}|' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>