diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-02-21 21:19:41 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-02-21 21:19:41 +0000 |
commit | dd190f52fe548fc53c347207f55deacb01c69830 (patch) | |
tree | 2a078cd42e9e3643ed6e1d88c51f33ed5db9c860 /security/portaudit/Makefile | |
parent | b31b5c61b0c85c8cef3184fb8d940388a571be32 (diff) |
Notes
Diffstat (limited to 'security/portaudit/Makefile')
-rw-r--r-- | security/portaudit/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/security/portaudit/Makefile b/security/portaudit/Makefile index ff09854b21e3..b19fbd408c21 100644 --- a/security/portaudit/Makefile +++ b/security/portaudit/Makefile @@ -6,13 +6,15 @@ # PORTNAME= portaudit -PORTVERSION= 0.1 +PORTVERSION= 0.2 CATEGORIES= security DISTFILES= MAINTAINER= eik@FreeBSD.org COMMENT= Checks installed ports against a list of security vulnerabilities +MAN1= portaudit.1 + PERIODICDIR?= ${PREFIX}/etc/periodic DATABASEDIR?= /var/db/portaudit @@ -33,13 +35,18 @@ IGNORE= "You need tar with bzip support to run portaudit" .endif do-build: -.for f in portaudit.sh fetchaudit.sh portaudit.functions +.for f in portaudit-cmd.sh portaudit.sh fetchaudit.sh portaudit.functions portaudit.1 @${SED} -e "s|%%DATADIR%%|${DATADIR}|g" \ -e "s|%%DATABASEDIR%%|${DATABASEDIR}|g" \ + -e "s|%%PREFIX%%|${PREFIX}|g" \ + -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ + -e "s|%%PORTVERSION%%|${PORTVERSION}|g" \ ${FILESDIR}/${f} > ${WRKDIR}/${f} .endfor do-install: + @${INSTALL_SCRIPT} ${WRKDIR}/portaudit-cmd.sh ${PREFIX}/bin/portaudit + @${INSTALL_MAN} ${WRKDIR}/portaudit.1 ${MAN1PREFIX}/man/man1 @${MKDIR} ${PERIODICDIR}/security @${INSTALL_SCRIPT} ${WRKDIR}/portaudit.sh ${PERIODICDIR}/security/910.portaudit @${MKDIR} ${PERIODICDIR}/daily |