aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bareos16-server
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2018-05-21 10:53:57 +0800
committeracm <acm@FreeBSD.org>2018-05-21 10:53:57 +0800
commit431e591e119fbb36acfaeb087c2b0c0e4081e93e (patch)
tree283785ce3fa9d99e8e22418effc548f0732ac8b5 /sysutils/bareos16-server
parent8178e05af05a593d912271e8ed6b9507405ed1f9 (diff)
downloadfreebsd-ports-gnome-431e591e119fbb36acfaeb087c2b0c0e4081e93e.tar.gz
freebsd-ports-gnome-431e591e119fbb36acfaeb087c2b0c0e4081e93e.tar.zst
freebsd-ports-gnome-431e591e119fbb36acfaeb087c2b0c0e4081e93e.zip
- Fix sysutils/bareos-bat
Reported by: pkg-fallout
Diffstat (limited to 'sysutils/bareos16-server')
-rw-r--r--sysutils/bareos16-server/Makefile.common2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/bareos16-server/Makefile.common b/sysutils/bareos16-server/Makefile.common
index 553b71317d36..4025c122962b 100644
--- a/sysutils/bareos16-server/Makefile.common
+++ b/sysutils/bareos16-server/Makefile.common
@@ -4,6 +4,7 @@
post-patch:
@${REINPLACE_CMD} -e 's|_NONSHARED||g' ${WRKSRC}/src/filed/Makefile.in
@${REINPLACE_CMD} -e 's|-lbareoscfg|@JANSSON_LIBS@ @LIBINTL@ -lbareoscfg|g' ${WRKSRC}/src/qt-tray-monitor/tray-monitor.pro.in
+ @${REINPLACE_CMD} -e 's|@bindir@/bat|@bindir@/${PORTNAME:S/16//}-bat|g' ${WRKSRC}/src/qt-console/bat.desktop.in
post-build:
.if ${PKGNAMEPREFIX} == "nagios-check_"
@@ -19,6 +20,7 @@ pre-install:
.endif
.if ${PKGNAMESUFFIX} == "-bat"
@${MV} ${WRKSRC}/manpages/bat.1 ${WRKSRC}/manpages/${PORTNAME:S/16//}-bat.1
+ @${MV} ${WRKSRC}/src/qt-console/bat.desktop ${WRKSRC}/src/qt-console/${PORTNAME:S/16//}-bat.desktop
.endif
do-install: