aboutsummaryrefslogtreecommitdiffstats
path: root/security/yara/Makefile
blob: ff66b03bdf67a3aa507f5c800ce13246d5e4e4ec (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
# $FreeBSD$

PORTNAME=   yara
PORTVERSION=    2.1.0
CATEGORIES= security

MAINTAINER= wxs@FreeBSD.org
COMMENT=    A malware identification and classification tool

USE_GITHUB= yes
GH_ACCOUNT= plusvic
GH_TAGNAME= v2.1.0
GH_COMMIT=  6530e73

USE_AUTOTOOLS=  libtool aclocal autoheader automake
GNU_CONFIGURE=  yes
CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
USE_LDCONFIG=   yes
MAKE_JOBS_UNSAFE=   yes

pre-configure:
    @cd ${WRKSRC} && ${SH} ./bootstrap.sh

pre-install:
    ${STRIP_CMD} ${WRKSRC}/libyara/.libs/libyara.so.2

.include <bsd.port.mk>