aboutsummaryrefslogtreecommitdiffstats
path: root/devel/marisa-trie/Makefile
blob: d183ece6683252467e9b354f5c78d1d2f84fa6e5 (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
50
51
52
53
54
55
56
57
# Created by: Iblis Lin <iblis@hs.ntnu.edu.tw>
# $FreeBSD$

PORTNAME=   marisa-tire
PORTVERSION=    0.24
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   GH

MAINTAINER= iblis@hs.ntnu.edu.tw
COMMENT=    MARISA: Matching Algorithm with Recursively Implemented StorAge

LICENSE=    BSD2CLAUSE LGPL21+
LICENSE_COMB=   dual
LICENSE_FILE=   ${WRKSRC}/COPYING.md

USE_GITHUB= yes
GH_ACCOUNT= s-yata
GH_PROJECT= marisa-trie
GH_TAGNAME= 961ed33

USES=   autoreconf libtool:build
USE_LDCONFIG=   yes

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-pkg-config-dir=${PREFIX}/libdata/pkgconfig

INSTALL_TARGET= install-strip

OPTIONS_DEFINE= SSE2 SSE3 SSSE3 SSE4 SSE41 SSE42 SSE4A POPCNT
OPTIONS_DEFAULT=${MACHINE_CPU:tu}

SSE2_DESC=  Support for SSE2
SSE2_CONFIGURE_ENABLE=  sse2

SSE3_DESC=  Support for SSE3
SSE3_CONFIGURE_ENABLE=  sse3

SSSE3_DESC= Support for SSSE3
SSSE3_CONFIGURE_ENABLE= sse3

SSE4_DESC=  Support for SSE4
SSE4_CONFIGURE_ENABLE=  sse4

SSE41_DESC= Support for SSE4.1
SSE41_CONFIGURE_ENABLE= sse4.1

SSE42_DESC= Support for SSE4.2
SSE42_CONFIGURE_ENABLE= sse4.2

SSE4A_DESC= Support for SSE4a
SSE4A_CONFIGURE_ENABLE= sse4a

POPCNT_DESC=    Support for POPCNT
POPCNT_CONFIGURE_ENABLE=    POPCNT

.include <bsd.port.mk>