Changeset View
Changeset View
Standalone View
Standalone View
sysutils/fusefs-lkl/Makefile
# Created by: Conrad Meyer <cem@FreeBSD.org> | # Created by: Conrad Meyer <cem@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= lkl | PORTNAME= lkl | ||||
PORTVERSION= 4.3.0 | PORTVERSION= 4.5.0 | ||||
CATEGORIES= sysutils | CATEGORIES= sysutils | ||||
MASTER_SITES= GOOGLE_CODE | MASTER_SITES= GOOGLE_CODE | ||||
PKGNAMEPREFIX= fusefs- | PKGNAMEPREFIX= fusefs- | ||||
MAINTAINER= cem@FreeBSD.org | MAINTAINER= cem@FreeBSD.org | ||||
COMMENT= Full-featured Linux BTRFS, Ext4, XFS as a FUSE module | COMMENT= Full-featured Linux BTRFS, Ext4, XFS as a FUSE module | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
BUILD_DEPENDS= gnubc>0:math/gnubc | BUILD_DEPENDS= gnubc>0:math/gnubc | ||||
USES= fuse gmake python:build shebangfix | USES= fuse gmake python:build shebangfix | ||||
SHEBANG_FILES= ../../arch/lkl/scripts/headers_install.py | SHEBANG_FILES= ../../arch/lkl/scripts/headers_install.py | ||||
USE_BINUTILS= yes | USE_BINUTILS= yes | ||||
USE_GCC= yes | USE_GCC= yes | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_PROJECT= linux | GH_PROJECT= linux | ||||
GH_TAGNAME= 64a367f522c6ec4fbed0193589d7733b06ab7968 | GH_TAGNAME= f20b70598f5c9d8cab798dae7c4cb0d118f5a14a | ||||
ONLY_FOR_ARCHS= amd64 | ONLY_FOR_ARCHS= amd64 | ||||
ONLY_FOR_ARCHS_REASON=No one has added other architecture ld formats yet | ONLY_FOR_ARCHS_REASON=No one has added other architecture ld formats yet | ||||
WRKSRC_SUBDIR= tools/lkl | WRKSRC_SUBDIR= tools/lkl | ||||
ALL_TARGET= lklfuse | ALL_TARGET= lklfuse | ||||
MAKE_JOBS_UNSAFE=yes | MAKE_JOBS_UNSAFE=yes | ||||
MAKE_ARGS+= V=1 | MAKE_ARGS+= V=1 | ||||
# Need ports versions of 'bc', 'ld' to build! | # Need ports versions of 'bc', 'ld' to build! | ||||
MAKE_ARGS+= PATH="${PREFIX}/bin:${PATH}" | MAKE_ARGS+= PATH="${LOCALBASE}/bin:${PATH}" | ||||
mat: If this is so that it gets bc from its BUILD_DEPENDS, it should be LOCALBASE, not PREFIX. | |||||
PLIST_FILES= bin/lklfuse lib/liblkl.a | PLIST_FILES= bin/lklfuse lib/liblkl.a | ||||
do-install: | do-install: | ||||
${INSTALL_PROGRAM} ${WRKSRC}/lklfuse ${STAGEDIR}${PREFIX}/bin | ${INSTALL_PROGRAM} ${WRKSRC}/lklfuse ${STAGEDIR}${PREFIX}/bin | ||||
${INSTALL_DATA} ${WRKSRC}/lib/liblkl.a ${STAGEDIR}${PREFIX}/lib | ${INSTALL_DATA} ${WRKSRC}/liblkl.a ${STAGEDIR}${PREFIX}/lib | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${OSVERSION} < 1100000 | .if ${OSVERSION} < 1100000 | ||||
IGNORE= requires FreeBSD CURRENT | IGNORE= requires FreeBSD 11 or newer | ||||
Done Inline ActionsThis should be rephrased (11+), or the OSVERSION check changed, (1200000) mat: This should be rephrased (11+), or the OSVERSION check changed, (1200000) | |||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |
If this is so that it gets bc from its BUILD_DEPENDS, it should be LOCALBASE, not PREFIX.