freebsd-ports/filesystems/lkl/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

42 lines
1.1 KiB
Makefile

PORTNAME= lkl
DISTVERSION= 4.16.g20180628
PORTREVISION= 4
CATEGORIES= filesystems
PKGNAMEPREFIX= fusefs-
MAINTAINER= cem@FreeBSD.org
COMMENT= Full-featured Linux BTRFS, Ext4, XFS as a FUSE module
WWW= https://github.com/lkl/linux/
LICENSE= GPLv2
BUILD_DEPENDS= gnubc>0:math/gnubc \
gnustat:sysutils/coreutils \
gsed:textproc/gsed
USES= bison:build fuse gmake python:build shebangfix
SHEBANG_FILES= ../../arch/lkl/scripts/headers_install.py
BINARY_ALIAS= sed=gsed \
stat=gnustat
USE_BINUTILS= yes:build
USE_GCC= yes:build
USE_GITHUB= yes
GH_PROJECT= linux
GH_TAGNAME= 86dd3afb590eccc1903611bdaa8bac87757eb80d
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON=ld formats not available for other architectures
WRKSRC_SUBDIR= tools/lkl
MAKE_JOBS_UNSAFE=yes
MAKE_ARGS+= V=1
# Need ports versions of 'bc', 'ld' to build!
MAKE_ARGS+= PATH="${LOCALBASE}/bin:${PATH}" CC="${CC}" HOSTCC="${CC}"
PLIST_FILES= bin/lklfuse lib/liblkl.a
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lklfuse ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/liblkl.a ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>