mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
242f4c6cf3
- code shift to github - update WWW along with pkg-descr - support docs and examples PR: 207244 Reported by: lapo@lapo.it, w.schwarzenfeld@utanet.at (WWW)
49 lines
931 B
Makefile
49 lines
931 B
Makefile
# 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>
|