1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/comms/ebusd/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

46 lines
881 B
Makefile

PORTNAME= ebusd
PORTVERSION= 21.2
DISTVERSIONPREFIX= v
CATEGORIES= comms
MAINTAINER= samm@FreeBSD.org
COMMENT= Daemon for communication with eBUS heating systems
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libargp.so:devel/argp-standalone
USES= autoreconf compiler:c++11-lang localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= john30
USE_RC_SUBR= ebusd
USERS= ebusd
GROUPS= ebusd
LOGDIR= /var/log/${PORTNAME}
RUNDIR= /var/run/${PORTNAME}
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
PLIST_SUB= USER=${USERS} GROUP=${GROUPS} \
LOGDIR=${LOGDIR} \
RUNDIR=${RUNDIR}
OPTIONS_DEFINE= MQTT
OPTIONS_DEFAULT=MQTT
MQTT_DESC= MQTT protocol support
MQTT_CONFIGURE_WITH= mqtt
MQTT_LIB_DEPENDS= libmosquitto.so:net/mosquitto
MQTT_VARS= LIBS+=-lmosquitto
post-install:
${MKDIR} ${STAGEDIR}${LOGDIR}
${MKDIR} ${STAGEDIR}${RUNDIR}
.include <bsd.port.mk>