0753f5b1ee
7 years worth of updates.
30 lines
911 B
Makefile
30 lines
911 B
Makefile
# $NetBSD: Makefile,v 1.1 2019/02/07 11:29:31 markd Exp $
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-qt5-console-/}
|
|
COMMENT= Qt5-based console for Bacula - The Network Backup Solution
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../sysutils/bacula/distinfo
|
|
PATCHDIR= ${.CURDIR}/../../sysutils/bacula/patches
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
CONFIGURE_ARGS+= --enable-client-only
|
|
CONFIGURE_ARGS+= --enable-bat
|
|
|
|
BUILDLINK_TRANSFORM+= opt:-std=c++98:-std=gnu++98 # typeof
|
|
|
|
BUILD_DIRS= src/qt-console
|
|
|
|
INSTALLATION_DIRS= bin share/examples/bacula
|
|
|
|
CONF_FILES+= ${EXAMPLESDIR}/bat.conf ${PKG_SYSCONFDIR}/bat.conf
|
|
|
|
pre-configure:
|
|
${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/src/qt-console/bat.conf ${DESTDIR}${EXAMPLESDIR}
|
|
|
|
.include "../../sysutils/bacula/Makefile.common"
|
|
.include "../../sysutils/bacula/buildlink3.mk"
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|