- Fix path to zfs utility
PR: ports/131966 Submitted by: Jui-Nan Lin <jnlin AT csie.nctu.edu.tw> (maintainer) Approved by: miwi (mentor)
This commit is contained in:
parent
1ce88e98be
commit
45971b4932
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228831
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= zfs-replicate
|
||||
PORTVERSION= 0.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://blogs.sun.com/constantin/resource/
|
||||
DISTNAME= ${PORTNAME}_v${PORTVERSION}
|
||||
@ -24,6 +25,7 @@ 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} ${PREFIX}/sbin/zfs-replicate
|
||||
|
Loading…
Reference in New Issue
Block a user