Update textproc/hs-lhs2tex to version 1.24
[dports.git] / security / aide / Makefile
1 # Created by: Cy Schubert (Cy.Schubert@uumail.gov.bc.ca)
2 # $FreeBSD$
3
4 PORTNAME=       aide
5 PORTVERSION=    0.16.1
6 CATEGORIES=     security
7 MASTER_SITES=   https://github.com/aide/aide/releases/download/v${PORTVERSION}/
8
9 MAINTAINER=     cy@FreeBSD.org
10 COMMENT=        File and directory integrity checker
11
12 LIB_DEPENDS=    libmhash.so:security/mhash \
13                 libpcre.so:devel/pcre
14
15 USES=           autoreconf bison gmake localbase
16
17 GNU_CONFIGURE=  yes
18 CONFIGURE_ARGS+=--with-mhash \
19                 --with-zlib \
20                 --mandir=${MANPREFIX}/man \
21                 --with-config_file=${PREFIX}/etc/aide.conf
22 CONFIGURE_ENV=  YACC="bison -y"
23
24 LDFLAGS+=       -lpthread
25
26 SUB_FILES=      pkg-message
27
28 post-install:
29         ${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${STAGEDIR}${PREFIX}/etc/aide.conf.sample
30         ${MKDIR} ${STAGEDIR}/var/db/aide/databases
31         ${CHMOD} 0700 ${STAGEDIR}/var/db/aide ${STAGEDIR}/var/db/aide/databases
32
33 .include <bsd.port.mk>