1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/security/bsmtrace/Makefile
Dmitry Marakasov 0e7bd9b6a2 - Add LICENSE
- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
2017-07-23 09:01:03 +00:00

43 lines
915 B
Makefile

# Created by: alm
# $FreeBSD$
PORTNAME= bsmtrace
PORTVERSION= 1.4
PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= LOCAL/csjp
MAINTAINER= alm@FreeBSD.org
COMMENT= BSM based intrusion detection system
LICENSE= BSD2CLAUSE
SUB_FILES= pkg-message
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= PCRE EXAMPLES
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
PCRE_MAKE_ENV= PCRE=1
PCRE_USES= localbase
PCRE_LIBS= -lpcre
pre-build:
${REINPLACE_CMD} -e \
's,/etc/bsmtrace.conf,${PREFIX}/etc/bsmtrace.conf,' \
${WRKSRC}/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 \
${STAGEDIR}${MAN5PREFIX}/man/man5
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>