pkgsrc/devel/hyperscan/Makefile
minskim 49efc417e2 devel/hyperscan: Import version 4.7.0
Hyperscan is a high-performance multiple regex matching library. It
follows the regular expression syntax of the commonly-used libpcre
library, but is a standalone library with its own C API. Hyperscan
uses hybrid automata techniques to allow simultaneous matching of
large numbers (up to tens of thousands) of regular expressions and for
the matching of regular expressions across streams of data.
2018-05-07 22:18:53 +00:00

34 lines
814 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/05/07 22:18:53 minskim Exp $
DISTNAME= hyperscan-4.7.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=01org/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://01.org/hyperscan
COMMENT= High-performance regular expression matching library
LICENSE= modified-bsd
ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64
BUILD_DEPENDS+= ragel-[0-9]*:../../devel/ragel
GCC_REQD= 4.8.1
PYTHON_FOR_BUILD_ONLY= yes
USE_CMAKE= yes
USE_LANGUAGES= c99 c++11
USE_TOOLS+= pkg-config
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
PKGCONFIG_OVERRIDE+= libhs.pc.in
.include "../../mk/bsd.prefs.mk"
.if empty(CFLAGS:M-march*)
CFLAGS+= -march=core2
.endif
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"