summaryrefslogtreecommitdiff
path: root/sysutils/zrep/Makefile
blob: 76bf8051374a406dfea93e4bcd1734008fe37da8 (plain)
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

PORTNAME=	zrep
PORTVERSION=	1.8.0
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	ports@FreeBSD.org
COMMENT=	ZFS based replication and failover solution

LICENSE=	bolthole
LICENSE_NAME=	bolthole
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
LICENSE_PERMS=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell

RUN_DEPENDS=	ksh93:shells/ksh93

USE_GITHUB=	yes
GH_ACCOUNT=	bolthole

PLIST_FILES=	bin/zrep

NO_ARCH=	yes
NO_BUILD=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|#!/bin/ksh -p|#!${LOCALBASE}/bin/ksh93 -p|' ${WRKSRC}/zrep

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin

.include <bsd.port.mk>