ports/filesystems/unionfs/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

38 lines
895 B
Makefile

PORTNAME= unionfs
DISTVERSIONPREFIX= v
DISTVERSION= 2.2
CATEGORIES= filesystems
PKGNAMEPREFIX= fusefs-
MAINTAINER= 0mp@FreeBSD.org
COMMENT= FUSE based implementation of the well-known unionfs
WWW= https://github.com/rpodgorny/unionfs-fuse
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= cmake fuse localbase:ldflags python:test
USE_GITHUB= yes
GH_ACCOUNT= rpodgorny
GH_PROJECT= unionfs-fuse
SUB_FILES= pkg-message
PLIST_FILES= bin/unionfs \
bin/unionfsctl \
share/man/man8/unionfs.8.gz
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
pre-test:
${RLN} ${BUILD_WRKSRC}/src/unionfs ${WRKSRC}/src/unionfs
${RLN} ${BUILD_WRKSRC}/src/unionfsctl ${WRKSRC}/src/unionfsctl
do-test:
cd ${WRKSRC} && ${SETNEV} ${MAKE_ENV} ${PYTHON_CMD} -m pytest -k test_help --verbose
.include <bsd.port.mk>