1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/sysutils/zfs-replicate/Makefile
2021-04-06 16:31:07 +02:00

48 lines
919 B
Makefile

# Created by: Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw>
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>