33 lines
691 B
Makefile
Raw Normal View History

2020-08-26 16:59:56 +00:00
# $OpenBSD: Makefile,v 1.6 2020/08/26 16:59:56 tracey Exp $
COMMENT = things proxy daemon for OpenBSD
CATEGORIES = net
GH_ACCOUNT = basepr1me
GH_PROJECT = thingsd
2020-08-26 16:59:56 +00:00
GH_TAGNAME = 3.0.3
MAINTAINER = Tracey Emery <tracey@traceyemery.net>
# ISC
PERMIT_PACKAGE = Yes
# uses pledge()
# uses unveil()
WANTLIB += c crypto event pthread ssl tls util
MAKE_FLAGS = CC="${CC}"
NO_TEST = Yes
do-configure:
sed -i 's,/etc/thingsd.conf,${SYSCONFDIR}/thingsd.conf,' \
${WRKSRC}/thingsd/thingsd.{h,8,conf.5}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/thingsd
${INSTALL_DATA} ${WRKSRC}/thingsd/examples/etc/thingsd.conf \
${PREFIX}/share/examples/thingsd
.include <bsd.port.mk>