summaryrefslogtreecommitdiff
path: root/devel/libbpfjit/Makefile
blob: 269e743af58451f957f528beaac5225befe71c13 (plain)
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
PORTNAME=	libbpfjit
PORTVERSION=	g2020082801
CATEGORIES=	devel

MAINTAINER=	swills@FreeBSD.org
COMMENT=	Just-in-Time compilation of bpf

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/../LICENCE

USES=		gmake

USE_GITHUB=	yes
GH_TUPLE=	rmind:bpfjit:38b515b:DEFAULT \
		zherczeg:sljit:849950a:sljit
WRKSRC_SUBDIR=	src
USE_LDCONFIG=	yes
MAKEFILE=	GNUmakefile
CFLAGS+=	-I${WRKSRC_sljit}/sljit_src -fPIC

PLIST_FILES=	lib/libbpfjit.a include/bpfjit.h

do-install:
	${INSTALL_DATA} ${WRKSRC}/libbpfjit.a ${STAGEDIR}${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/bpfjit.h ${STAGEDIR}${PREFIX}/include

.include <bsd.port.mk>