1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/comms/ebusd/Makefile
Oleksii Samorukov 37d055a90b comms/ebusd - update to 3.4
- Update to the 3.4 version (see https://github.com/john30/ebusd/blob/master/ChangeLog.md)
 - Remove patches merged by the upstream

Approved by: krion (mentor)
Differential Revision:  https://reviews.freebsd.org/D24678
2020-05-03 13:20:06 +00:00

48 lines
893 B
Makefile

# $FreeBSD$
PORTNAME= ebusd
PORTVERSION= 3.4
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>