ports/filesystems/py-libzfs/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

35 lines
843 B
Makefile

PORTNAME= libzfs
PORTVERSION= 1.1.2023020700
CATEGORIES= filesystems devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= freqlabs@FreeBSD.org
COMMENT= Python libzfs bindings
WWW= https://github.com/freenas/py-libzfs
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= truenas
GH_PROJECT= py-libzfs
GH_TAGNAME= c1bd4a0
HAS_CONFIGURE= yes
USES= compiler:c11 python
USE_PYTHON= autoplist distutils cython
CONFIGURE_ENV= freebsd_src=${SRC_BASE}
MAKE_ENV= freebsd_src=${SRC_BASE}
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500018 || (${OSVERSION} >= 1401000 && ${OSVERSION} < 1500000))
EXTRA_PATCHES+= ${FILESDIR}/extra-zpool-add.patch
.endif
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel source files in ${SRC_BASE}
.endif
.include <bsd.port.mk>