summaryrefslogtreecommitdiff
path: root/sysutils/zrep/Makefile
blob: 86c5b12f5904c4be673bb8808bd16b67e474aad2 (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
# $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>