diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-11-20 18:40:51 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-11-20 18:40:51 +0000 |
commit | 693c8d0237b96bf445a4c2f6ff3169851cef8cd7 (patch) | |
tree | fb6b5f202fc607c66af62bc06624c9ce876a5912 /sysutils/zfs-snapshot-mgmt/Makefile | |
parent | 9d7f84a6282600a10102fabb4d7220f773a95825 (diff) | |
download | ports-693c8d0237b96bf445a4c2f6ff3169851cef8cd7.tar.gz ports-693c8d0237b96bf445a4c2f6ff3169851cef8cd7.zip |
Notes
Diffstat (limited to 'sysutils/zfs-snapshot-mgmt/Makefile')
-rw-r--r-- | sysutils/zfs-snapshot-mgmt/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/zfs-snapshot-mgmt/Makefile b/sysutils/zfs-snapshot-mgmt/Makefile index da8ba1950989..72dc6bcbb123 100644 --- a/sysutils/zfs-snapshot-mgmt/Makefile +++ b/sysutils/zfs-snapshot-mgmt/Makefile @@ -20,7 +20,12 @@ NO_BUILD= yes MAN8= zfs-snapshot-mgmt.8 SUB_FILES= pkg-message -PKGMESSAGE= ${WRKDIR}/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' \ + {} + do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |