1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/sysutils/zrep/Makefile
2014-01-03 19:28:01 +00:00

33 lines
670 B
Makefile

# $FreeBSD$
PORTNAME= zrep
PORTVERSION= 1.0.1
CATEGORIES= sysutils
MASTER_SITES= http://www.bolthole.com/solaris/zrep/ \
http://www.bsdstore.ru/downloads/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX=
MAINTAINER= olevole@olevole.ru
COMMENT= ZFS based replication and failover solution
RUN_DEPENDS= ksh93:${PORTSDIR}/shells/ksh93
PLIST_FILES= bin/zrep
NO_BUILD= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|#!/bin/ksh -p|#!${PREFIX}/bin/ksh93 -p|' ${WRKSRC}/zrep
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} -p ${DISTDIR}/${PORTNAME} ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
.include <bsd.port.mk>