aboutsummaryrefslogtreecommitdiff
path: root/devel/libac/Makefile
blob: 7962aabbe5662f5727798a344e4ee59ac4bf8fbf (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
PORTNAME=	libac
PORTVERSION=	g20190308
CATEGORIES=	devel

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	C++ implementation of the Aho-Corasick (AC) string matching algorithm
WWW=		https://github.com/cloudflare/lua-aho-corasick

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		gmake

PLIST_FILES=	lib/libac.a \
		lib/libac.so

USE_GITHUB=	yes
GH_ACCOUNT=	cloudflare
GH_PROJECT=	lua-aho-corasick
GH_TAGNAME=	ca6043c

do-install:
	${INSTALL_DATA} ${WRKSRC}/libac.a ${STAGEDIR}${PREFIX}/lib/libac.a
	${INSTALL_LIB} ${WRKSRC}/libac.so ${STAGEDIR}${PREFIX}/lib/libac.so

.include <bsd.port.mk>