mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
37d055a90b
- 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
48 lines
893 B
Makefile
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>
|