svn commit: r470505 - head/sysutils/bareos16-server

Jose Alonso Cardenas Marquez acm at FreeBSD.org
Mon May 21 02:53:58 UTC 2018


Author: acm
Date: Mon May 21 02:53:57 2018
New Revision: 470505
URL: https://svnweb.freebsd.org/changeset/ports/470505

Log:
  - Fix sysutils/bareos-bat
  
  Reported by:	pkg-fallout

Modified:
  head/sysutils/bareos16-server/Makefile.common

Modified: head/sysutils/bareos16-server/Makefile.common
==============================================================================
--- head/sysutils/bareos16-server/Makefile.common	Mon May 21 02:37:22 2018	(r470504)
+++ head/sysutils/bareos16-server/Makefile.common	Mon May 21 02:53:57 2018	(r470505)
@@ -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:


More information about the svn-ports-all mailing list