aboutsummaryrefslogtreecommitdiff
path: root/sysutils/zfs-snapshot-mgmt
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-01 02:47:30 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-01 02:47:30 +0000
commitcfe119a7c5c4f6d4b63ed3f817c20267cd31e0ac (patch)
tree6a911d48a0350c8a0fc8f1e75f1587652e089a5e /sysutils/zfs-snapshot-mgmt
parent77fa6a6bfa0e6c97252070dce0b6bcedff4211fb (diff)
downloadports-cfe119a7c5c4f6d4b63ed3f817c20267cd31e0ac.tar.gz
ports-cfe119a7c5c4f6d4b63ed3f817c20267cd31e0ac.zip
Notes
Diffstat (limited to 'sysutils/zfs-snapshot-mgmt')
-rw-r--r--sysutils/zfs-snapshot-mgmt/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysutils/zfs-snapshot-mgmt/Makefile b/sysutils/zfs-snapshot-mgmt/Makefile
index 2649928d929f..a0ebfc8f0515 100644
--- a/sysutils/zfs-snapshot-mgmt/Makefile
+++ b/sysutils/zfs-snapshot-mgmt/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zfs-snapshot-mgmt
PORTVERSION= 20090201
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://marcin.studio4plus.com/files/
@@ -16,6 +16,7 @@ COMMENT= Automatic ZFS snapshot management tool
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
+RUBY_SHEBANG_FILES= zfs-snapshot-mgmt
NO_BUILD= yes
MAN8= zfs-snapshot-mgmt.8
@@ -24,9 +25,7 @@ SUB_FILES= pkg-message
post-patch: .SILENT
${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \
- -e 's|/usr/local|${PREFIX}|g' \
- -e 's|${PREFIX}\(/bin/ruby\)|${LOCALBASE}\1|g' \
- {} +
+ -e 's|/usr/local|${PREFIX}|g' {} +
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin