freebsd-ports/sysutils/bacula13-client-static/Makefile
Dan Langille be1b11e3ab sysutils/bacula13-client-static: Add new port
Much like sysutils/bacula9-client-static, but for Bacula 13

NOTE: the 13 code creates binaries named:

* static-bacula-fd
* static-bconsole

To retain the naming convention used in previous ports, we rename these to:

* bacula-fd-static
* bconsole-static
2022-12-03 20:32:16 +00:00

31 lines
846 B
Makefile

PORTNAME= bacula
PKGNAMESUFFIX= 13-client-static
COMMENT= Network backup solution (static client)
BROKEN_aarch64= Fails to link: missing sbrk
BROKEN_riscv64= Fails to link: missing sbrk
BROKEN_SSL= libressl
WITH_CLIENT_ONLY= yes
PLIST= ${.CURDIR}/pkg-plist
MASTERDIR= ${.CURDIR}/../../sysutils/bacula13-server
PLIST_FILES= sbin/bacula-fd-static \
sbin/bconsole-static
OPTIONS_DEFINE= NLS OPENSSL
OPTIONS_DEFAULT= OPENSSL
CONFIGURE_ARGS+= --disable-build-dird \
--disable-build-stored \
--disable-libtool \
--enable-client-only \
--enable-static-cons \
--enable-static-fd
.include "${MASTERDIR}/Makefile"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/filed/static-bacula-fd ${STAGEDIR}${PREFIX}/sbin/bacula-fd-static
${INSTALL_PROGRAM} ${WRKSRC}/src/console/static-bconsole ${STAGEDIR}${PREFIX}/sbin/bconsole-static