1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/sysutils/zfs-replicate/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

33 lines
789 B
Makefile

# Created by: Jui-Nan Lin <jnlin@freebsd.cs.nctu.edu.tw>
# $FreeBSD$
PORTNAME= zfs-replicate
PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://blogs.sun.com/constantin/resource/
DISTNAME= ${PORTNAME}_v${PORTVERSION}
MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw
COMMENT= ZFS Snapshot Replication Script
RUN_DEPENDS= ksh:shells/pdksh
NO_WRKSUBDIR= yes
NO_BUILD= yes
USES= tar:bzip2
PLIST_FILES= sbin/zfs-replicate
do-patch:
@${REINPLACE_CMD} -e 's|^#!/bin/ksh|#!${PREFIX}/bin/ksh|g' \
${WRKSRC}/zfs-replicate_v${PORTVERSION}
@${REINPLACE_CMD} -e 's|/usr/sbin/zfs|/sbin/zfs|g' \
${WRKSRC}/zfs-replicate_v${PORTVERSION}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/zfs-replicate_v${PORTVERSION} \
${STAGEDIR}${PREFIX}/sbin/zfs-replicate
.include <bsd.port.mk>