aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-rar2fs/Makefile
blob: a5a99d996e7097011a70608aa9147375499aa514 (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
# Created by: Joris Vandalon
# $FreeBSD$

PORTNAME=   rar2fs
PORTVERSION=    1.15.1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}:rar2fs http://www.rarlab.com/rar/:unrarsrc
PKGNAMEPREFIX=  fusefs-
DISTFILES=  rar2fs-1.15.1.tar.gz:rar2fs unrarsrc-4.2.4.tar.gz:unrarsrc

MAINTAINER= joris@vandalon.nl
COMMENT=    Mount rar archives as filesystem

LICENSE=    GPLv3

LIB_DEPENDS=    unrar:${PORTSDIR}/archivers/libunrar4 \

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-fuse-lib=${LOCALBASE}/lib \
    --with-fuse=${LOCALBASE}/include/fuse \
    --with-unrar=${WRKDIR}/unrar \
    --with-unrar-lib=${LOCALBASE}/lib

PLIST_FILES=    bin/${PORTNAME}
MAN1=       rar2fs.1
USES=       fuse
USE_GMAKE=  yes

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

.include <bsd.port.mk>