# 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