aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 09:58:04 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 09:58:04 +0000
commit856704a6d19af5877048bbf7698ba31abc39a587 (patch)
tree024b095d1a128243e040cacd2f0a427857189e06 /sysutils
parent85fb32d6119664c44e8f6fb651c6f8e6abe11ecd (diff)
downloadports-856704a6d19af5877048bbf7698ba31abc39a587.tar.gz
ports-856704a6d19af5877048bbf7698ba31abc39a587.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/zfs-replicate/Makefile10
-rw-r--r--sysutils/zfs-replicate/pkg-descr2
2 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/zfs-replicate/Makefile b/sysutils/zfs-replicate/Makefile
index 60883f373b86..0f463ddb9971 100644
--- a/sysutils/zfs-replicate/Makefile
+++ b/sysutils/zfs-replicate/Makefile
@@ -19,12 +19,14 @@ USE_BZIP2= yes
PLIST_FILES= sbin/zfs-replicate
-NO_STAGE= yes
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}
+ @${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
+ ${INSTALL_SCRIPT} ${WRKSRC}/zfs-replicate_v${PORTVERSION} \
+ ${STAGEDIR}${PREFIX}/sbin/zfs-replicate
.include <bsd.port.mk>
diff --git a/sysutils/zfs-replicate/pkg-descr b/sysutils/zfs-replicate/pkg-descr
index 941c41bf00d9..8b9bd8177750 100644
--- a/sysutils/zfs-replicate/pkg-descr
+++ b/sysutils/zfs-replicate/pkg-descr
@@ -1,4 +1,4 @@
zfs-replicate makes migrating a few filesystems and many
snapshots to a new zpool more easier.
-WWW: http://blogs.sun.com/constantin/entry/useful_zfs_snapshot_replicator_script
+WWW: http://blogs.sun.com/constantin/entry/useful_zfs_snapshot_replicator_script