mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
![Chris Rees](/assets/img/avatar_default.png)
archive/volume or a directory containing any number of RAR archives and access (read only) the contents as plain files/directories. Other files located in the source directory are handled transparently. Both compressed and non-compressed archives/volumes are supported but full media seek support (aka. indexing) is only available for non-compressed plaintext archives. WWW: http://code.google.com/p/rar2fs/ PR: ports/157426 Submitted by: Joris Vandalon <joris@vandalon.nl>
38 lines
970 B
Makefile
38 lines
970 B
Makefile
# New ports collection Makefile for: rar2fs
|
|
# Date created: 30 May 2011
|
|
# Whom: Joris Vandalon
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rar2fs
|
|
PORTVERSION= 1.13.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}:rar2fs http://www.rarlab.com/rar/:unrarsrc
|
|
PKGNAMEPREFIX= fusefs-
|
|
DISTFILES= rar2fs-1.13.0.tar.gz:rar2fs unrarsrc-4.0.7.tar.gz:unrarsrc
|
|
|
|
MAINTAINER= joris@vandalon.nl
|
|
COMMENT= Mount rar archives as filesystem
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= unrar.3:${PORTSDIR}/archivers/libunrar4 \
|
|
fuse.2:${PORTSDIR}/sysutils/fusefs-libs
|
|
RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
MAN1= rar2fs.1
|
|
USE_GMAKE= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \
|
|
-e 's,%%PREFIX%%,${LOCALBASE},' \
|
|
${WRKSRC}/config.mk
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|