From 0e7bd9b6a2b0f6f04d5ca60a0f57f917ef163044 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 23 Jul 2017 09:01:03 +0000 Subject: [PATCH] - Add LICENSE - Switch to options helpers - Update WWW Approved by: portmgr blanket --- security/bsmtrace/Makefile | 21 +++++++++++---------- security/bsmtrace/pkg-descr | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/security/bsmtrace/Makefile b/security/bsmtrace/Makefile index 5465eaf5e962..645be0a06207 100644 --- a/security/bsmtrace/Makefile +++ b/security/bsmtrace/Makefile @@ -10,20 +10,18 @@ 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 -.include - -.if ${PORT_OPTIONS:MPCRE} -LIB_DEPENDS= libpcre.so:devel/pcre -MAKE_ENV+= PCRE=1 -CFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -lpcre -.endif +PCRE_LIB_DEPENDS= libpcre.so:devel/pcre +PCRE_MAKE_ENV= PCRE=1 +PCRE_USES= localbase +PCRE_LIBS= -lpcre pre-build: ${REINPLACE_CMD} -e \ @@ -32,10 +30,13 @@ pre-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR} + ${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 diff --git a/security/bsmtrace/pkg-descr b/security/bsmtrace/pkg-descr index 8ae901b6734c..c18c363fa5fe 100644 --- a/security/bsmtrace/pkg-descr +++ b/security/bsmtrace/pkg-descr @@ -3,4 +3,4 @@ and real-time audit event analysis through auditpipe(4). This host based IDS operates using a finite state machine principles with a flexible sequence driven signature system. -WWW: http://people.freebsd.org/~csjp/bsmtrace/bsmtrace.txt +WWW: https://people.freebsd.org/~csjp/bsmtrace/bsmtrace.txt