blob: e67e8d0e1f372004b02c25adb0ab188258317d26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $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>
|