freebsd-ports/filesystems/rar2fs/Makefile
Robert Clausecker 6e2da9672f filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.

Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.

Approved by:	portmgr (rene)
Reviewed by:	mat
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/302
PR:		281988
2024-11-06 16:17:35 +01:00

37 lines
956 B
Makefile

PORTNAME= rar2fs
DISTVERSION= 1.29.6
DISTVERSIONPREFIX= v
CATEGORIES= filesystems
PKGNAMEPREFIX= fusefs-
MAINTAINER= n_carlsson@outlook.com
COMMENT= Mount RAR archives as file system
WWW= https://hasse69.github.io/rar2fs/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${NONEXISTENT}:${LIBUNRAR_PORT}:patch
LIB_DEPENDS= libunrar.so:${LIBUNRAR_PORT}
USES= autoreconf compiler:c11 gmake fuse
USE_GITHUB= yes
GH_ACCOUNT= hasse69
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --disable-static-unrar \
--with-fuse-lib=${LOCALBASE}/lib \
--with-fuse=${LOCALBASE}/include/fuse \
--with-unrar=`${MAKE} -C ${PORTSDIR}/${LIBUNRAR_PORT} -VWRKSRC` \
--with-unrar-lib=${LOCALBASE}/lib
CONFIGURE_ENV= LIBUNRAR_PKG=${LIBUNRAR_PKG}
PLIST_FILES= bin/${PORTNAME} \
bin/mkr2i \
share/man/man1/rar2fs.1.gz
LIBUNRAR_PORT= archivers/libunrar
LIBUNRAR_PKG= ${LIBUNRAR_PORT:S|archivers/||}
.include <bsd.port.mk>