diff options
author | danger <danger@FreeBSD.org> | 2009-05-11 00:58:51 +0800 |
---|---|---|
committer | danger <danger@FreeBSD.org> | 2009-05-11 00:58:51 +0800 |
commit | ac2ab2efe5b5f24b9f9a5d44efe38373ac3dedb0 (patch) | |
tree | 14c0bbb9f9dcb57fb4b32bc9f93b8ca65921322b /sysutils | |
parent | 81fff769596da8ea8974c78de6f493b34b3576c2 (diff) | |
download | freebsd-ports-gnome-ac2ab2efe5b5f24b9f9a5d44efe38373ac3dedb0.tar.gz freebsd-ports-gnome-ac2ab2efe5b5f24b9f9a5d44efe38373ac3dedb0.tar.zst freebsd-ports-gnome-ac2ab2efe5b5f24b9f9a5d44efe38373ac3dedb0.zip |
- add yet another optional dependency
Approved by: miwi
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/sysinfo/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/sysinfo/Makefile b/sysutils/sysinfo/Makefile index 403640443fe8..216994d0e126 100644 --- a/sysutils/sysinfo/Makefile +++ b/sysutils/sysinfo/Makefile @@ -18,7 +18,8 @@ COMMENT= Utility used to gather system configuration information NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} -OPTIONS= DMIDECODE "Include information from the dmidecode tool" Off +OPTIONS= DMIDECODE "Include information from the dmidecode tool" Off \ + PORTAUDIT "Include information from the portaudit tool" Off .include <bsd.port.pre.mk> @@ -26,6 +27,10 @@ OPTIONS= DMIDECODE "Include information from the dmidecode tool" Off RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode .endif +.if defined(WITH_PORTAUDIT) +RUN_DEPENDS+= portaudit:${PORTSDIR}/ports-mgmt/portaudit +.endif + post-patch: @${REINPLACE_CMD} -e 's|common.subr|${DATADIR}/common.subr|g' ${WRKSRC}/sysinfo @${REINPLACE_CMD} -e 's|sysinfo.conf|${PREFIX}/etc/sysinfo.conf|g' ${WRKSRC}/sysinfo |