aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordanger <danger@FreeBSD.org>2009-05-11 00:58:51 +0800
committerdanger <danger@FreeBSD.org>2009-05-11 00:58:51 +0800
commitac2ab2efe5b5f24b9f9a5d44efe38373ac3dedb0 (patch)
tree14c0bbb9f9dcb57fb4b32bc9f93b8ca65921322b /sysutils
parent81fff769596da8ea8974c78de6f493b34b3576c2 (diff)
downloadfreebsd-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/Makefile7
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