9293b36283
sysutils/dwatch-{gource,pwsnoop} require dwatch(1) in FreeBSD base. Reviewed by: mat (mentor) Approved by: mat (mentor) Sponsored by: Smule, Inc. Differential Revision: https://reviews.freebsd.org/D15621
37 lines
855 B
Makefile
37 lines
855 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dwatch-gource
|
|
DISTVERSION= 0.9
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= dteske@FreeBSD.org
|
|
COMMENT= FreeBSD dwatch profiles for creating gource logs
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= FrauBSD
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OSVERSION} < 1101516 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200065)
|
|
IGNORE= requires dwatch available in recent FreeBSD 11 or 12
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/gwatch ${STAGEDIR}${PREFIX}/sbin
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/dwatch
|
|
${INSTALL_DATA} ${WRKSRC}/gource-* ${STAGEDIR}${PREFIX}/libexec/dwatch
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|