blob: 9f53e15da7d07f07a961a01d42721b5ec147a11a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.25 2005/12/05 23:55:18 rillig Exp $
.include "../../security/nessus/Makefile.common"
DISTNAME= nessus-plugins-GPL-${VERS}
PKGREVISION= 2
PKGNAME= nessus-plugins-${VERS}
COMMENT= Plugins for the Nessus Network Security Scanner
DEPENDS+= nmap>=2.0:../../net/nmap
WRKSRC= ${WRKDIR}/nessus-plugins
GNU_CONFIGURE= yes
USE_TOOLS+= cat gzip
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ENV+= CAT=${TOOLS_CAT:Q} GZIP=${TOOLS_GZIP_CMD:Q}
PLIST_SRC= ${WRKDIR}/PLIST PLIST
# auto-generate PLIST of plug-ins
post-install:
${RM} -f ${WRKDIR}/PLIST
cd ${PREFIX} && \
${FIND} lib/nessus/plugins -type f -print >>${WRKDIR}/PLIST
.include "../../security/nessus-core/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|