aboutsummaryrefslogtreecommitdiff
path: root/security/lynis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/lynis/Makefile')
-rw-r--r--security/lynis/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/lynis/Makefile b/security/lynis/Makefile
index f21d00f5be87..ef9bb20da438 100644
--- a/security/lynis/Makefile
+++ b/security/lynis/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= lynis
-PORTVERSION= 2.7.5
+PORTVERSION= 3.0.0
CATEGORIES= security
MASTER_SITES= https://cisofy.com/files/
@@ -20,14 +20,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
NO_ARCH= yes
-PORTDOCS= FAQ README
+PORTDOCS= FAQ README *.md
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/tINCLUDE_TARGETS/ s|".*"|"${DATADIR}/include"|; \
/tPLUGIN_TARGETS/ s|".*"|"${DATADIR}/plugins"|; \
- /tDB_TARGETS/ s|".*"|"${DATADIR}/db"|' ${WRKSRC}/${PORTNAME}
+ /tDB_TARGETS=/ s|\(tDB_TARGETS\)=".*"|\1="${DATADIR}/db"|' ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}