freebsd-ports/sysutils/zfs-replicate/Makefile
Dmitry Marakasov d427bbc5c0 - Update to 0.7
PR:		128812
Submitted by:	Jui-Nan Lin <jnlin at csie dot nctu dot edu dot tw> (maintainer)
2008-11-12 14:44:47 +00:00

31 lines
738 B
Makefile

# New ports collection makefile for: zfs-replicate
# Date created: 2008-05-26
# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= zfs-replicate
PORTVERSION= 0.7
CATEGORIES= sysutils
MASTER_SITES= http://blogs.sun.com/constantin/resource/
DISTNAME= ${PORTNAME}_v${PORTVERSION}
MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT= A ZFS Snapshot Replication Script
RUN_DEPENDS= ksh:${PORTSDIR}/shells/pdksh
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_BZIP2= yes
PLIST_FILES= sbin/zfs-replicate
do-patch:
@${REINPLACE_CMD} -e 's|^#!/bin/ksh|#!${PREFIX}/bin/ksh|g' ${WRKSRC}/zfs-replicate_v${PORTVERSION}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/zfs-replicate_v${PORTVERSION} ${PREFIX}/sbin/zfs-replicate
.include <bsd.port.mk>