mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
0e7bd9b6a2
- Switch to options helpers - Update WWW Approved by: portmgr blanket
43 lines
915 B
Makefile
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>
|