freebsd-ports/net/knxd/Makefile

37 lines
933 B
Makefile
Raw Normal View History

# Created by: mfechner@FreeBSD.org
# $FreeBSD$
PORTNAME= knxd
2020-04-16 23:25:36 +02:00
PORTVERSION= 0.14.35
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Advanced router/gateway for KNX
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libargp.so:devel/argp-standalone \
libev.so:devel/libev \
libfmt.so:devel/libfmt
USES= autoreconf compiler:c11 gmake libtool pkgconfig
USE_RC_SUBR= knxd
USE_GITHUB= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
GH_ACCOUNT= knxd
GH_PROJECT= knxd
GH_TAGNAME= 7a3c5e065e5ab26eeb14257c8dff05fa94e9373e
GNU_CONFIGURE= yes
CONFIGURE_ARGS?=--disable-systemd --disable-usb \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
post-install:
(cd ${WRKSRC} && src/server/knxd_args -d -e 15.15.1 -E 15.15.2:8 -D -T -S -B single -b ipt:192.168.0.117 -u /var/run/knxd > ${STAGEDIR}${PREFIX}/etc/knxd.conf.sample)
.include <bsd.port.mk>