blob: 5a35da39c1d318dac235de30c2d289db6e7634a3 (
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
38
39
40
41
42
43
44
45
46
47
48
|
# Created by: Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw>
# $FreeBSD$
PORTNAME= zfs-replicate
PORTVERSION= 0.7
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw
COMMENT= ZFS Snapshot Replication Script
RUN_DEPENDS= bash:shells/bash
USES= shebangfix
NO_BUILD= yes
NO_ARCH= yes
OPTIONS_DEFINE= DOCS EXAMPLES
SHEBANG_FILES= zfs-replicate.sh
PORTDOCS= README.md
PORTDATA= config.sample.sh
USE_GITHUB= yes
GH_ACCOUNT= leprechau
GH_TAGNAME= 17bf8fb
PLIST_FILES= sbin/zfs-replicate
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/zfs-replicate.sh \
${STAGEDIR}${PREFIX}/sbin/zfs-replicate
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for data in ${PORTDATA}
${INSTALL_DATA} ${WRKSRC}/${data} ${STAGEDIR}${DATADIR}
.endfor
.include <bsd.port.mk>
|