diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-03-11 11:11:59 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-03-11 11:11:59 +0000 |
commit | 1832c23a94d9ed03c327bdcf7183731b545392b6 (patch) | |
tree | 9d49f1c933820f12c49dd44f98a7aeb0b8556e27 /security/portaudit/Makefile | |
parent | 1a9fde3cfb6d302f66da6eb43ebd7d945df720b4 (diff) | |
download | ports-1832c23a94d9ed03c327bdcf7183731b545392b6.tar.gz ports-1832c23a94d9ed03c327bdcf7183731b545392b6.zip |
Notes
Diffstat (limited to 'security/portaudit/Makefile')
-rw-r--r-- | security/portaudit/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/security/portaudit/Makefile b/security/portaudit/Makefile index 8b186c098bf3..c574bff71052 100644 --- a/security/portaudit/Makefile +++ b/security/portaudit/Makefile @@ -6,7 +6,7 @@ # PORTNAME= portaudit -PORTVERSION= 0.2.1 +PORTVERSION= 0.3 CATEGORIES= security DISTFILES= @@ -36,17 +36,18 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/pkg_info:${PORTSDIR}/sysutils/pkg_install-devel .include <bsd.port.pre.mk> -.if ${OSVERSION} < 420001 || ${OSVERSION} >= 500000 && ${OSVERSION} < 500014 -IGNORE= "You need tar with bzip support to run portaudit" +.if defined(BZIP2DEPENDS) +RUN_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2 .endif do-build: -.for f in portaudit-cmd.sh portaudit.sh fetchaudit.sh portaudit.functions portaudit.1 +.for f in portaudit-cmd.sh portaudit.sh fetchaudit.sh portaudit.functions portaudit.1 portaudit.conf @${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" \ + -e "s|%%BZIP2_CMD%%|${BZIP2_CMD}|g" \ ${FILESDIR}/${f} > ${WRKDIR}/${f} .endfor @@ -66,6 +67,7 @@ do-install: @${INSTALL_SCRIPT} ${WRKDIR}/fetchaudit.sh ${PERIODICDIR}/daily/330.fetchaudit @${MKDIR} ${DATADIR} @${INSTALL_DATA} ${WRKDIR}/portaudit.functions ${DATADIR} + @${INSTALL_DATA} ${WRKDIR}/portaudit.conf ${PREFIX}/etc/portaudit.conf.sample @${MKDIR} ${DATABASEDIR} post-install: |