mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
- Fix traymonitor build
Reported by: pkg-fallout
This commit is contained in:
parent
9b8bc07f1f
commit
dbf3c1a934
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535686
@ -7,7 +7,7 @@ post-build:
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
.if ${PKGNAMESUFFIX} == "-traymonitor"
|
||||
.if ${PKGNAMESUFFIX} == "18-traymonitor"
|
||||
. for d in client director monitor storage
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}
|
||||
${FIND} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \;
|
||||
@ -20,11 +20,7 @@ do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bareos/check_bareos \
|
||||
${STAGEDIR}${PREFIX}/libexec/nagios
|
||||
.endif
|
||||
.if ${PKGNAMESUFFIX} == "-client-static"
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/filed/static-bareos-fd ${STAGEDIR}${PREFIX}/sbin/bareos-fd-static
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/console/static-bconsole ${STAGEDIR}${PREFIX}/sbin/bconsole-static
|
||||
.endif
|
||||
.if ${PKGNAMESUFFIX} == "-traymonitor"
|
||||
.if ${PKGNAMESUFFIX} == "18-traymonitor"
|
||||
# Install config files and preserve existing ones
|
||||
.for d in client director monitor storage
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/
|
||||
|
Loading…
Reference in New Issue
Block a user