Files
ports/devel/busd/Makefile
T
2026-10-04 04:07:15 +00:00

29 lines
658 B
Makefile

PORTNAME= busd
DISTVERSION= 0.5.0
PORTREVISION= 6
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org
COMMENT= D-Bus daemon/broker implementation based on zbus
WWW= https://github.com/dbus2/busd
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE-MIT
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= dbus2
PLIST_FILES= bin/${PORTNAME}
post-patch:
# Respect consolekit2 as XDG_RUNTIME_DIR fallback
@${REINPLACE_CMD} 's,/run,/var&,' \
${WRKSRC}/src/bus/mod.rs
# Respect PREFIX for devel/dbus configs
@${REINPLACE_CMD} 's,/usr/share,${LOCALBASE}/share,' \
${WRKSRC}/src/bin/busd.rs \
${WRKSRC}/src/config/mod.rs \
${WRKSRC}/tests/config.rs
.include <bsd.port.mk>