aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-lkl/Makefile
blob: d3d55dfb73b5db24c8c6f1a87a41b22cd1a50452 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Created by: Conrad Meyer <cem@FreeBSD.org>
# $FreeBSD$

PORTNAME=   lkl
PORTVERSION=    4.5.0
CATEGORIES= sysutils
MASTER_SITES=   GOOGLE_CODE
PKGNAMEPREFIX=  fusefs-

MAINTAINER= cem@FreeBSD.org
COMMENT=    Full-featured Linux BTRFS, Ext4, XFS as a FUSE module

LICENSE=    GPLv2

BROKEN=     Unfetchable (google code has gone away)

BUILD_DEPENDS=  gnubc>0:math/gnubc

USES=       fuse gmake python:build shebangfix
SHEBANG_FILES=  ../../arch/lkl/scripts/headers_install.py
USE_BINUTILS=   yes
USE_GCC=    yes
USE_GITHUB= yes
GH_PROJECT= linux
GH_TAGNAME= e145a5a5bdf4b70753495b5ccd2439a354655341

ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON=No one has added other architecture ld formats yet

WRKSRC_SUBDIR=  tools/lkl
ALL_TARGET= lklfuse
MAKE_JOBS_UNSAFE=yes
MAKE_ARGS+= V=1
# Need ports versions of 'bc', 'ld' to build!
MAKE_ARGS+= PATH="${LOCALBASE}/bin:${PATH}"

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.pre.mk>

.if ${OSVERSION} < 1100000
IGNORE=     requires FreeBSD 11 or newer
.endif

.include <bsd.port.post.mk>