41 lines
900 B
Makefile
41 lines
900 B
Makefile
# $OpenBSD: Makefile,v 1.8 2015/07/26 22:21:20 gonzalo Exp $
|
|
|
|
COMMENT= security auditing tool
|
|
|
|
DISTNAME = lynis-2.1.1
|
|
|
|
CATEGORIES= security
|
|
|
|
HOMEPAGE= http://cisofy.com
|
|
|
|
MAINTAINER= Gonzalo L. R. <gonzalo@openbsd.org>
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= http://cisofy.com/files/
|
|
|
|
PKG_ARCH= *
|
|
|
|
NO_BUILD= Yes
|
|
NO_TEST= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/lynis
|
|
|
|
post-extract:
|
|
@perl -pi -e 's,usr/share,usr/local/share,g' \
|
|
${WRKDIST}/lynis
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/{,doc,examples}/lynis/
|
|
@cp -r ${WRKDIST}/{plugins,db,include} \
|
|
${PREFIX}/share/lynis/
|
|
cd ${WRKSRC}; ${INSTALL_DATA} CONTRIBUTORS LICENSE \
|
|
FAQ CHANGELOG README INSTALL \
|
|
${PREFIX}/share/doc/lynis/
|
|
${INSTALL_DATA} ${WRKSRC}/default.prf \
|
|
${PREFIX}/share/examples/lynis/
|
|
${INSTALL_MAN} ${WRKSRC}/lynis.8 ${PREFIX}/man/man8/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lynis ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|