1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/security/lynis/Makefile
Alex Kozlov 72aa6a46aa - Update to 1.5.0
PR:	ports/188615
Submitted by:	"Ben." <kontakt@serverzeit.de>
Approved by:	maintainer timeout (24 days)
2014-05-07 19:27:28 +00:00

34 lines
1015 B
Makefile

# Created by: Cory McIntire (loon@noncensored.com)
# $FreeBSD$
PORTNAME= lynis
PORTVERSION= 1.5.0
CATEGORIES= security
MASTER_SITES= http://cisofy.com/files/
MAINTAINER= loon@noncensored.com
COMMENT= Security and system auditing tool
LICENSE= GPLv3
NO_BUILD= yes
PORTDOCS= FAQ LICENSE README
post-patch:
@${REINPLACE_CMD} -e '/tINCLUDE_TARGETS/ s|".*"|"${DATADIR}/include"|; \
/tPLUGIN_TARGETS/ s|".*"|"${DATADIR}/plugins"|; \
/tDB_TARGETS/ s|".*"|"${DATADIR}/db"|' ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/lynis
${INSTALL_DATA} ${WRKSRC}/default.prf ${STAGEDIR}${PREFIX}/etc/lynis
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "include db dev plugins" ${STAGEDIR}${DATADIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>