freebsd-ports/sysutils/dwatch-json/Makefile
Rene Ladan 8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00

38 lines
854 B
Makefile

# $FreeBSD$
PORTNAME= dwatch-json
DISTVERSION= 0.4.1
CATEGORIES= sysutils
MAINTAINER= dteske@FreeBSD.org
COMMENT= FreeBSD dwatch profiles to produce JSON logs
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= FrauBSD
NO_ARCH= yes
NO_BUILD= yes
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065
IGNORE= requires dwatch available in recent FreeBSD 11 or 12
.endif
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dwatch
${INSTALL_DATA} ${WRKSRC}/json-* ${STAGEDIR}${PREFIX}/libexec/dwatch
${INSTALL_DATA} ${WRKSRC}/dwatch-json-net.conf ${STAGEDIR}${PREFIX}/etc/dwatch-json-net.conf.sample
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>